Float64TensorBuilder class Null safety

Inheritance

Constructors

Float64TensorBuilder()

Properties

data List<double>
read-only, inherited
elements List<double>
Elements of the tensor.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
length int
Length of the tensor.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tensorShape TensorShape
Shape of the tensor.
read / write, override

Methods

abs() → void
Calculates absolute value for each element. [...]
inherited
add(Tensor<double> right) → void
Calculates sum of two tensors. [...]
inherited
build({bool recycle = false}) Tensor<double>
Builds tensor and resets elements to empty list. [...]
override
ceil() → void
Calculates ceil for each element. [...]
inherited
clamp(double lowerLimit, double upperLimit) → void
Clamps elements of this tensor. [...]
inherited
cos() → void
Calculates cos for each element. [...]
inherited
div(Tensor<double> right, {bool noNan = false, bool swapArguments = false}) → void
Calculates fraction of two tensors. [...]
inherited
divScalar(num value, {bool noNan = false, bool swapArguments = false}) → void
Divides elements. [...]
inherited
exp() → void
Calculates exponent for each element. [...]
inherited
fill(double value) → void
Fills each element with the argument. [...]
inherited
floor() → void
Calculates floor for each element. [...]
inherited
getXY(int x, int y) double
Gets element value.
inherited
log() → void
Calculates logarithm for each element. [...]
inherited
max(Tensor<double> right) → void
Calculates element-wise maximum of the two tensors. [...]
inherited
min(Tensor<double> right) → void
Calculates element-wise minimum of the two tensors. [...]
inherited
mul(Tensor<double> right) → void
Multiplies elements. [...]
inherited
mulScalar(num value) → void
Multiplies elements by a scalar.
inherited
neg() → void
Negates elements. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pow(Tensor<double> right, {bool swapArguments = false}) → void
Calculates pow(a,b) for each element. [...]
inherited
round() → void
Rounds elements.
inherited
setTensor(Tensor<double> tensor) → void
Initializes shape and element values with the tensor.
inherited
setXY(int x, int y, double value) → void
Sets element value.
inherited
sin() → void
Calculates sin for each element. [...]
inherited
sq() → void
Calculates a*a for each element. [...]
inherited
sqrt() → void
Calculates sqrt for each element. [...]
inherited
sub(Tensor<double> right) → void
Subtracts elements of the arguments. [...]
inherited
tan() → void
Calculates tan for each element. [...]
inherited
toBuilder({bool copy = true}) TensorBuilder<double>
Constructs a new TensorBuilder that has this tensor. [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited