Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ShapeContainerT (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    // Fill in the contents of TensorShapeProto for the given shape.
    // ShapeContainerT is any type with the following methods:
    //   bool hasRank()
    //   ArrayRef<int64_t> getShape()
    // This includes mlir::TF::ShapeAttr and mlir::ShapedType.
    template <typename ShapeContainerT>
    void SetTensorShapeProto(ShapeContainerT shape, TensorShapeProto* proto) {
      if (shape.hasRank()) {
        for (int64_t dim : shape.getShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top