- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for creation (0.26 sec)
-
tensorflow/c/eager/abstract_context.h
#include "tensorflow/c/eager/abstract_operation.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
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
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] // Create function for optimizer. void* (*create_func)();
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) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// followed by `TFE_ContextAsyncWait` to clear pending operations. It will be // used to cancel all other operations if any fails. // // Set step_id to configure the step id used for rendezvous creation. step id // of value -1 is reserved for global rendezvous and should not be set here. void StartExecute(TFE_Context* context, const std::vector<ParallelTensor*>& inputs,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
#ifdef __cplusplus extern "C" { #endif // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This // is for performance optimization by reusing an exiting unused op rather than // creating a new op every time. If `raw_device_name` is `NULL` or empty, it // does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/c_api.h
// The distinction between an empty array of operations and no // array of operations is necessary to distinguish the case of // creating a function with no body (e.g. identity or permutation) // and the case of creating a function whose body contains all // the nodes in the graph (except for the automatic skipping, see // below).
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/c_api.h
// The number of dimensions used to represent the tensor on device can be // different from the number returned by TFE_TensorHandleNumDims. // The return value was current at the time of TFE_TensorDebugInfo creation. TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( TFE_TensorDebugInfo* debug_info); // Returns the number of elements in dimension `dim_index`.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
// restricted stand-in for tf.Variable in Python. class Variable { public: // Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a // separate static method which returns a status. Variable(TFE_TensorHandle* handle, TF_DataType type) : handle_(handle), type_(type) {}
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_internal.h
void* c_optimizer_; }; // Registration function to register a CGraphOptimizer along with plugin configs // and device type. void CGraphOptimizerRegister( const PluginGraphOptimizerRegistry::Creator& creator, const TP_OptimizerConfigs tp_configs, const char* device_type); } // namespace grappler } // namespace tensorflow
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_context.h
}; // LINT.ThenChange(//tensorflow/c/eager/c_api.h) // Abstract interface to a context. // // A context is responsible for creating key objects such as Tensors, // TensorHandles & Operations. class ImmediateExecutionContext : public AbstractContext { public: // Optimized scalar creation functions virtual AbstractTensorInterface* CreateInt64Scalar(int64_t value) = 0;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// allow us to trace the data dependencies between operations and hence compute // gradients. // // `ZerosLike` is not expected to be called and returns a nullptr. The creation // of default zeros grads is handled by the `DefaultGradientFunction` registered // for each op. // TODO(srbs): We need to define `ZerosLike` here to keep the compiler happy. // Figure out a way to avoid this.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0)