Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Execute (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or
      // if sanity checks on dtypes/metadata fail.
      absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> Execute(
          TFE_Context* context, const std::vector<ParallelTensor*>& inputs,
          const char* operation_name, const TFE_OpAttrs* attributes,
          int expected_max_outputs, TF_Status* status) const;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device.h

    // and `underlying_devices` is
    //   {"/job:localhost/replica:0/task:0/device:GPU:0",
    //    "/job:localhost/replica:0/task:0/device:GPU:1"}
    // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1.
    //
    // Implicit copies onto `device_name` are allowed, replicating the value once
    // per device in `underlying_devices`. Implicit copies off of the device throw
    // an error.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // is done.
    // TODO(agarwal): change num_retvals to int from int*.
    TF_CAPI_EXPORT extern void TFE_Execute(TFE_Op* op, TFE_TensorHandle** retvals,
                                           int* num_retvals, TF_Status* status);
    
    // Add a function (serialized FunctionDef protocol buffer) to ctx so
    // that it can be invoked using TFE_Execute.
    TF_CAPI_EXPORT extern void TFE_ContextAddFunctionDef(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      }
      TFE_OpSetDevice(op.get(), device, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      TFE_TensorHandle* result_handle;
      int num_retvals = 1;
      TFE_Execute(op.get(), &result_handle, &num_retvals, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      return TensorHandlePtr(result_handle);
    }
    
    template <typename value_type>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

      virtual Status SetDeviceName(const char* name) = 0;
    
      virtual Status AddInput(AbstractTensorHandle* input) = 0;
      virtual Status AddInputList(
          absl::Span<AbstractTensorHandle* const> inputs) = 0;
      virtual Status Execute(absl::Span<AbstractTensorHandle*> retvals,
                             int* num_retvals) = 0;
    
      virtual Status SetAttrString(const char* attr_name, const char* data,
                                   size_t length) = 0;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    //    control_outputs: vector of TF_Operation objects to be marked as control
    //      outputs of the function. Operations marked as control outputs are
    //      guaranteed to execute.
    //    control_output_names: Optional. If not nullptr, vector of strings, one
    //      per control output, with their names to be added to the function's
    //      OpDef.
    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)
  7. tensorflow/c/eager/abstract_context.h

    namespace tensorflow {
    
    // Abstract interface to a context.
    //
    // This serves as a factory for creating `AbstractOperation`s and for
    // registering traced functions.
    // Operations creation within a context can only be executed in that context
    // (for now at least).
    // Implementations of the context may contain some state e.g. an execution
    // environment, a traced representation etc.
    class AbstractContext {
     protected:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental.h

    // -----------------------------------------------------------------------------
    // Core APIs
    // -----------------------------------------------------------------------------
    
    // A TF_ExecutionContext stores knowledge about how to execute an operation.
    // E.g. it could know whether we're in eager mode or graph mode, keeps track
    // of gradient tapes, etc.
    typedef struct TF_ExecutionContext TF_ExecutionContext;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/tape/tape_operation.h

      Status SetDeviceName(const char* name) override;
      Status AddInput(AbstractTensorHandle* input) override;
      Status AddInputList(absl::Span<AbstractTensorHandle* const> inputs) override;
      Status Execute(absl::Span<AbstractTensorHandle*> retvals,
                     int* num_retvals) override;
      Status SetAttrString(const char* attr_name, const char* data,
                           size_t length) override;
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  10. tensorflow/c/eager/c_api_experimental.h

                                           TF_Status* status);
    
    // Enables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx);
    
    // Disables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
    
    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)
Back to top