Module Operation.At

val (.@{}) : Tensor.t -> int array -> Base.Float.t

Get the value at the given indices.

val (.@%{}) : Tensor.t -> int array -> Base.Float.t
val (.@{}<-) : Tensor.t -> int array -> Base.float -> unit

Set the value at the given indices.

val (.@%{}<-) : Tensor.t -> int array -> Base.float -> unit
val (.@[]) : Tensor.t -> int -> Base.Float.t

Get the value at the given index from a single-axis shape tensor.

val (.@%[]) : Tensor.t -> int -> Base.Float.t
val (.@[]<-) : Tensor.t -> int -> Base.float -> unit

Set the value at the given index for a single-axis shape tensor.

val (.@%[]<-) : Tensor.t -> int -> Base.float -> unit