Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddDimWithStatus (0.26 sec)

  1. tensorflow/c/tf_tensor.cc

                                        const int64_t* new_dims, int num_new_dims) {
      tensorflow::TensorShape s;
      for (int i = 0; i < num_new_dims; ++i) {
        TF_RETURN_IF_ERROR(s.AddDimWithStatus(new_dims[i]));
      }
      return tensor_.BitcastFrom(from.tensor_, type, s);
    }
    
    Status TensorInterface::FromProto(const tensorflow::TensorProto& from) {
      bool success = tensor_.FromProto(from);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_launch_util.cc

          } else {
            dims = output_buffer->dimensions();
          }
          TensorShape tensor_shape;
          for (int i = 0; i < dims.size(); ++i) {
            TF_RETURN_IF_ERROR(tensor_shape.AddDimWithStatus(dims[i]));
          }
          if (use_pjrt_tensor_buffer) {
            TF_ASSIGN_OR_RETURN(
                Tensor output_tensor,
                MakeTensorFromPjRtBuffer(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
Back to top