Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NumberOfMaterializedElements (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

    }
    
    // Returns the number of elements present in this TensorProto, or -1 if that
    // could not be determined. This might be less than the shape of the proto might
    // indicate, if we're storing a splat tensor.
    int NumberOfMaterializedElements(const TensorProto& tensor) {
      if (!tensor.tensor_content().empty()) return -1;
        // We don't know which element type this protocol buffer is storing, and the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top