Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddDim (0.07 sec)

  1. tensorflow/c/tf_tensor.cc

      return tensorflow::TensorCApi::Buffer(tensor_)->data();
    }
    
    void TensorInterface::SetShape(const int64_t* dims, int num_dims) {
      tensorflow::TensorShape s;
      for (int i = 0; i < num_dims; ++i) {
        s.AddDim(dims[i]);
      }
      tensor_.set_shape(s);
    }
    
    Status TensorInterface::BitcastFrom(const TensorInterface& from, DataType type,
                                        const int64_t* new_dims, int num_new_dims) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top