Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetExtentsTensorTypeFor (0.25 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    // value type. If the value type is ranked, the result will be statically
    // shaped. Otherwise, it will have a dynamic dimension.
    static RankedTensorType GetExtentsTensorTypeFor(TensorType value_type) {
      Builder b(value_type.getContext());
      int64_t dim = value_type.hasRank() ? value_type.getRank() : -1;
      return tensorflow::GetTypeFromTFTensorShape({dim}, b.getIndexType());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top