Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_TensorFromTensor (0.11 sec)

  1. tensorflow/c/c_api_experimental.cc

      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,
                                             const char* name, int64_t* dims,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        if (!src.IsInitialized() || src.NumElements() == 0) {
          c_outputs[i] =
              EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape());
          continue;
        }
        c_outputs[i] = TF_TensorFromTensor(src, &status->status);
        if (!status->status.ok()) return;
      }
    }
    
    extern "C" {
    
    void TF_Run(TF_DeprecatedSession* s, const TF_Buffer* run_options,
                // Input tensors
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top