Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Status (0.16 sec)

  1. tensorflow/c/eager/c_api_experimental.h

                                                       TF_Status* status);
    
    // Returns the status for the tensor handle. In TFRT, a tensor handle can carry
    // error info if error happens. If so, the status will be set with the error
    // info. If not, status will be set as OK.
    TF_CAPI_EXPORT extern void TFE_TensorHandleGetStatus(TFE_TensorHandle* h,
                                                         TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

        const TF_SessionOptions*, TF_Status* status);
    TF_CAPI_EXPORT extern void TF_CloseDeprecatedSession(TF_DeprecatedSession*,
                                                         TF_Status* status);
    TF_CAPI_EXPORT extern void TF_DeleteDeprecatedSession(TF_DeprecatedSession*,
                                                          TF_Status* status);
    TF_CAPI_EXPORT extern void TF_Reset(const TF_SessionOptions* opt,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_test_util.h

      TF_Status* status = TF_NewStatus();
      TF_Tensor* t = TFE_AllocateHostTensor(ctx, datatype, dims, num_dims, status);
      memcpy(TF_TensorData(t), data, TF_TensorByteSize(t));
      TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_function.h

    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_
    
    #include "absl/status/statusor.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/platform/intrusive_ptr.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    class FunctionRecord;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      // gradient is not required.
      virtual Status CallBackwardFunction(
          const string& op_type, BackwardFunction* backward_function,
          const std::vector<int64_t>& unneeded_gradients,
          gtl::ArraySlice<Gradient*> output_gradients,
          absl::Span<Gradient*> result) const = 0;
    
      // Builds a tensor filled with ones with the same shape and dtype as `t`.
      virtual Status BuildOnesLike(const TapeTensor& t,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/c_test.c

      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // tasks to initialize the eager context and TF server for multi-client
      // execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Check if the remote task is alive.
      virtual Status CheckRemoteAlive(const std::string& remote_task_name,
                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

                                                    TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo(
        TF_OpKernelContext* ctx, TF_VariableInfo* var_info, TF_Status* status);
    
    TF_CAPI_EXPORT extern TF_Tensor* TF_GetTensorFromVariableInfo(
        TF_VariableInfo* var_info, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_DeleteVariableInfo(TF_VariableInfo* var_info);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.h

      ~ModularWritableFile() override { ops_->cleanup(file_.get()); }
    
      Status Append(StringPiece data) override;
      Status Close() override;
      Status Flush() override;
      Status Sync() override;
      Status Name(StringPiece* result) const override;
      Status Tell(int64_t* position) override;
    
     private:
      std::string filename_;
      std::unique_ptr<TF_WritableFile> file_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/graph_function.h

    class GraphFunction : public AbstractFunction {
     public:
      explicit GraphFunction(FunctionDef fdef);
      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top