Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for provide (5.24 sec)

  1. tensorflow/c/experimental/grappler/grappler.h

    } TP_OptimizerConfigs;
    
    #define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization)
    
    // Struct for Optimizer. Plugin authors must provide an optimize function.
    // Creation and deletion functions are optional.
    typedef struct TP_Optimizer {
      size_t struct_size;
      void* ext;  // reserved for future use
    
      // [Optional]
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      const ParallelDevice& device_;
      std::vector<TensorHandlePtr> tensors_;
      // Parallel tensors are immutable but compute their shape lazily unless it is
      // provided on construction. The optional has a value if the lazy computation
      // has been completed or the shape was provided on construction.
      mutable absl::optional<std::vector<int64_t>> shape_;
      const TF_DataType dtype_;
    };
    
    template <typename DataType>
    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)
  3. tensorflow/c/eager/c_api_experimental.h

                                                   TF_Status* status,
                                                   void* device_info);
    
      // Method to execute an operation.
      //
      // Arguments provide enough information to reconstruct the original `TFE_Op`,
      // or construct a transformed version, by inspecting the passed `op`.
      //
      // TFE_OpGetDevice(op) records the original placement of the operation. It may
    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)
  4. tensorflow/c/c_api.h

    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    // * Backing store for tensor memory has an associated deallocation
    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)
  5. tensorflow/c/c_op_requires.h

    // Convenience macros for asserting and handling exceptional conditions, for
    // C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus
    // to the macros in tensorflow/core/framework/op_requires.h. This is provided
    // for plugin OpKernel developer's convenience.
    
    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_tensor_handle.h

    // metadata and synchronization.
    //
    // This allows us to hide concrete implementations of TensorHandle from header
    // files. The interface lists the common functionality that must be provided by
    // any concrete implementation. However, in cases where the true concrete class
    // is needed a static_cast can be applied.
    class ImmediateExecutionTensorHandle : public AbstractTensorHandle {
     public:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.h

    // returned through the provided TF_OutputList.
    // Any active tape will observe the effects of this execution.
    void TF_ExecuteOperation(TF_AbstractOp* op, int num_inputs,
                             TF_AbstractTensor* const* inputs, TF_OutputList* o,
                             TF_Status* s);
    
    // Creates a new TF_AbstractFunction from the current tracing states in the
    // context. The provided `ctx` is consumed by this API call and deleted.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

    // from the forward computation and calls a vector-jacobian product function
    // (also known as adjoint function) to compute, given downstream gradients,
    // upstream gradients.
    //
    // TODO(apassos) provide concrete template instantiations for TFE_TensorHandle
    // specialization, which is blocked by quite a few things needing to loop back
    // into python now.
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    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)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

    } TF_FilesystemPluginOps;
    
    /// This structure gathers together all the operations provided by the plugin.
    ///
    /// Plugins must provide exactly `num_schemes` elements in the `ops` array.
    ///
    /// Since memory that is allocated by the DSO gets transferred to core
    /// TensorFlow, we need to provide a way for the allocation and deallocation to
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_internal.h

    // Implementation detail for the unified execution APIs for Eager and tracing
    // backends (graph/MLIR).
    //
    // This defines a set of abstract classes that are intended to provide the
    // functionality of the opaque C types exposed in the public APIs defined in the
    // `c_api_unified_experimental.h` header.
    // =============================================================================
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top