Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DataType_Name (0.26 sec)

  1. tensorflow/c/eager/abstract_tensor_handle.cc

      if (!s.ok()) {
        shape_string = "<error computing shape>";
      } else {
        shape_string = shape.DebugString();
      }
      return absl::StrCat("TensorHandle(shape=", shape_string,
                          ", dtype=", DataType_Name(DataType()),
                          ", type=", FullType().DebugString(), ")");
    }
    
    Status AbstractTensorHandle::TensorHandleStatus() const {
      // Tensor handles in current runtime don't carry error info and this method
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
      return absl::StrCat("TensorHandle(", value_string, ", shape=", shape_string,
                          ", dtype=", DataType_Name(DataType()), ", device=\"",
                          device_name, "\")");
    }
    
    Status ImmediateExecutionTensorHandle::SummarizeValue(
        std::string& summary) const {
      Status status;
      AbstractTensorPtr resolved(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/dlpack.cc

        case TF_DataType::TF_COMPLEX128:
          dtype.code = DLDataTypeCode::kDLComplex;
          break;
        default:
          status->status = tensorflow::errors::InvalidArgument(
              DataType_Name(static_cast<DataType>(data_type)),
              " is not supported by dlpack");
          break;
      }
      return dtype;
    }
    
    // Gets DLPack's DLDevice from eager tensor handle.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top