init_ops
Structs
Functions
array
array(dims: List[Int], requires_grad: Bool = False) -> Array
array(arr_str: StringLiteral, requires_grad: Bool = False) -> Array
tensor
tensor(dims: List[Int], requires_grad: Bool = False) -> Array
tensor(arr_str: StringLiteral, requires_grad: Bool = False) -> Array
ndarray
ndarray(dims: List[Int], requires_grad: Bool = False) -> Array
ndarray(arr_str: StringLiteral, requires_grad: Bool = False) -> Array
Tensor
Tensor(dims: List[Int], requires_grad: Bool = False) -> Array
Tensor(arr_str: StringLiteral, requires_grad: Bool = False) -> Array
arange_
arange_(mut arg: Array)
linspace
linspace(start: SIMD[float32, 1] = SIMD(0), end: SIMD[float32, 1] = SIMD(1), num: Int = 50, requires_grad: Bool = False) -> Array
more details
arange
arange(start: SIMD[float32, 1] = SIMD(0), end: SIMD[float32, 1] = SIMD(1), step: SIMD[float32, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
zeros_
zeros_(mut arg: Array)
zeros
zeros(shape: List[Int], requires_grad: Bool = False) -> Array
zeros_like
zeros_like(arg: Array) -> Array
ones_
ones_(mut arg: Array)
ones
ones(shape: List[Int], requires_grad: Bool = False) -> Array
ones_like
ones_like(arg: Array) -> Array
eye_
eye_(mut arg: Array)
eye
eye(n: Int, requires_grad: Bool = False) -> Array
eye_like
eye_like(arg: Array) -> Array
fill_
fill_(mut arg: Array, value: SIMD[float32, 1])
full
full(shape: List[Int], value: SIMD[float32, 1], requires_grad: Bool = False) -> Array
more details
fill_like
fill_like(arg: Array, value: SIMD[float32, 1]) -> Array
indeces
indeces(shape: List[Int], stride: List[Int], storage_offset: Int, requires_grad: Bool = False) -> Array
more details
randu_
randu_(mut arg: Array, min: SIMD[float32, 1] = SIMD(0), max: SIMD[float32, 1] = SIMD(1))
more details
randu
randu(shape: List[Int], min: SIMD[float32, 1] = SIMD(0), max: SIMD[float32, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
randu_like
randu_like(mut arg: Array, min: SIMD[float32, 1] = SIMD(0), max: SIMD[float32, 1] = SIMD(1)) -> Array
more details
randn_
randn_(mut arg: Array, mean: SIMD[float64, 1] = SIMD(0), std: SIMD[float64, 1] = SIMD(1))
more details
randn
randn(shape: List[Int], mean: SIMD[float64, 1] = SIMD(0), std: SIMD[float64, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
randn_like
randn_like(mut arg: Array, mean: SIMD[float64, 1] = SIMD(0), std: SIMD[float64, 1] = SIMD(1)) -> Array
more details
rand_he_normal_
rand_he_normal_(mut arg: Array, fan_in: SIMD[float64, 1] = SIMD(1))
rand_he_normal
rand_he_normal(shape: List[Int], fan_in: SIMD[float64, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
rand_he_normal_like
rand_he_normal_like(arg: Array, fan_in: SIMD[float64, 1] = SIMD(1)) -> Array
rand_he_uniform_
rand_he_uniform_(mut arg: Array, fan_in: SIMD[float32, 1] = SIMD(1))
rand_he_uniform
rand_he_uniform(shape: List[Int], fan_in: SIMD[float32, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
rand_he_uniform_like
rand_he_uniform_like(arg: Array, fan_in: SIMD[float32, 1] = SIMD(1)) -> Array
rand_xavier_normal_
rand_xavier_normal_(mut arg: Array, fan_in: SIMD[float64, 1] = SIMD(1), fan_out: SIMD[float64, 1] = SIMD(1))
more details
rand_xavier_normal
rand_xavier_normal(shape: List[Int], fan_in: SIMD[float64, 1] = SIMD(1), fan_out: SIMD[float64, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
rand_xavier_normal_like
rand_xavier_normal_like(mut arg: Array, fan_in: SIMD[float64, 1] = SIMD(1), fan_out: SIMD[float64, 1] = SIMD(1)) -> Array
more details
rand_xavier_uniform_
rand_xavier_uniform_(mut arg: Array, fan_in: SIMD[float32, 1] = SIMD(1), fan_out: SIMD[float32, 1] = SIMD(1))
more details
rand_xavier_uniform
rand_xavier_uniform(shape: List[Int], fan_in: SIMD[float32, 1] = SIMD(1), fan_out: SIMD[float32, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
rand_xavier_uniform_like
rand_xavier_uniform_like(mut arg: Array, fan_in: SIMD[float32, 1] = SIMD(1), fan_out: SIMD[float32, 1] = SIMD(1)) -> Array
more details
rand_lecun_normal_
rand_lecun_normal_(mut arg: Array, fan_in: SIMD[float64, 1] = SIMD(1))
rand_lecun_normal
rand_lecun_normal(shape: List[Int], fan_in: SIMD[float64, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
rand_lecun_normal_like
rand_lecun_normal_like(mut arg: Array, fan_in: SIMD[float64, 1] = SIMD(1)) -> Array
rand_lecun_uniform_
rand_lecun_uniform_(mut arg: Array, fan_in: SIMD[float32, 1] = SIMD(1))
rand_lecun_uniform
rand_lecun_uniform(shape: List[Int], fan_in: SIMD[float32, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
rand_lecun_uniform_like
rand_lecun_uniform_like(mut arg: Array, fan_in: SIMD[float32, 1] = SIMD(1)) -> Array
complex
complex(real: Array, imag: Array, requires_grad: Bool = False) -> Array
randn_complex
randn_complex(shape: List[Int], mean: SIMD[float64, 1] = SIMD(0), std: SIMD[float64, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
randu_complex
randu_complex(shape: List[Int], min: SIMD[float32, 1] = SIMD(0), max: SIMD[float32, 1] = SIMD(1), requires_grad: Bool = False) -> Array
more details
fill_complex
fill_complex(shape: List[Int], value_real: SIMD[float32, 1], value_imag: SIMD[float32, 1], requires_grad: Bool = False) -> Array
Last updated on