Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K
JAX  documentation - Home

jax.numpy.log10

Contents

jax.numpy.log10#

jax.numpy.log10(x,/)[source]#

Calculates the base-10 logarithm of x element-wise

JAX implementation ofnumpy.log10.

Parameters:

x (ArrayLike) – Input array

Returns:

An array containing the base-10 logarithm of each element inx, promotesto inexact dtype.

Return type:

Array

Examples

>>>x1=jnp.array([0.01,0.1,1,10,100,1000])>>>withjnp.printoptions(precision=2,suppress=True):...print(jnp.log10(x1))[-2. -1.  0.  1.  2.  3.]
Contents

[8]ページ先頭

©2009-2025 Movatter.jp