Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for input_tensor_shape (0.16 sec)

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

      // indicate there are more values, then this is representing a splat tensor.
      // We can create an MLIR Attribute more efficiently in this case.
      TensorShape input_tensor_shape(input_tensor.tensor_shape());
      if (NumberOfMaterializedElements(input_tensor) == 1 &&
          input_tensor_shape.num_elements() > 1) {
        // We first convert this TensorProto to one of shape [1]. We then create an
        // Attribute for that proto, and finally splat the Attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        auto input_tensor_shape =
            mlir::cast<RankedTensorType>(input_tensor.getType());
        for (auto i = 0; i < input_tensor_shape.getShape().size(); ++i) {
          DCOMMENT("Input Tensor Shape " << i << "th is "
                                         << input_tensor_shape.getShape()[i]);
          input_tensor_dims_vec.push_back(input_tensor_shape.getShape()[i]);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top