reshape(to:)
Adds a reshape operation to the current graph.
Declaration
func reshape(to shape: [Int]) -> BNNSGraph.Builder.Tensor<T>Parameters
- shape:
A tensor that specifies the new shape.
Adds a reshape operation to the current graph.
func reshape(to shape: [Int]) -> BNNSGraph.Builder.Tensor<T>A tensor that specifies the new shape.