mean method
Collapses the entire tensor into a 1x1 Tensor containing the mean
Implementation
Tensor mean() {
final h = engine.meanTensor(this.handle);
return Tensor._raw(h, [1, 1]);
}
Collapses the entire tensor into a 1x1 Tensor containing the mean
Tensor mean() {
final h = engine.meanTensor(this.handle);
return Tensor._raw(h, [1, 1]);
}