Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTensor (0.18 sec)

  1. tensorflow/c/checkpoint_reader.cc

      if (reader_ != nullptr) return reader_->DebugString();
      return v2_reader_->DebugString();
    }
    
    void CheckpointReader::GetTensor(
        const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor,
        TF_Status* out_status) const {
      absl::Status status;
      if (reader_ != nullptr) {
        status = reader_->GetTensor(name, out_tensor);
      } else {
        tensorflow::DataType dtype;
        tensorflow::TensorShape shape;
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Nov 08 06:24:11 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

    }
    
    TF_Tensor* TF_CheckpointReaderGetTensor(TF_CheckpointReader* reader,
                                            const char* name, TF_Status* status) {
      std::unique_ptr<tensorflow::Tensor> tensor;
      reader->GetTensor(name, &tensor, status);
      if (!status->status.ok()) return nullptr;
      return tensorflow::TF_TensorFromTensor(*tensor, &status->status);
    }
    
    void TF_CheckpointReaderGetVariableShape(TF_CheckpointReader* reader,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top