Contents

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.