- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for explicitly (0.19 sec)
-
tensorflow/c/eager/parallel_device/parallel_device.h
// // `device_name` must not name an existing physical or custom device (see // the documentation for TFE_RegisterCustomDevice for more information). // // Tensors may be copied on or off the device explicitly using // TPUReplicatedInput and TPUReplicatedOutput respectively. For example, with // two component devices, running `x = TPUReplicatedInput(inputs=[a, b])` on the
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) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
const char* device, TF_Status* status); // Dereferences the backing buffer for the variable. Note that since this can // fail (it runs operations), it must be called explicitly and the resulting // `status` checked. void Destroy(TFE_Context* context, TF_Status* status); // Reads from the variable. TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
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) -
tensorflow/c/eager/c_api_experimental.h
// be an empty string if no device was explicitly requested, but will // otherwise be the name of this custom device. Ops are placed onto a custom // device if any of their inputs are on that custom device, but custom devices // are free to set a bad status in order to require explicit placement. void (*execute)(const TFE_Op* op, int* num_outputs,
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) -
tensorflow/c/c_api.h
TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetPrefix( TF_ImportGraphDefOptions* opts, const char* prefix); // Set the execution device for nodes in `graph_def`. // Only applies to nodes where a device was not already explicitly specified. // `device` is copied and has no lifetime requirements. TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetDefaultDevice( TF_ImportGraphDefOptions* opts, const char* device);
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) -
tensorflow/c/eager/tfe_monitoring_reader_internal.h
#define TENSORFLOW_C_EAGER_TFE_MONITORING_READER_INTERNAL_H_ #include <memory> #include "tensorflow/core/lib/monitoring/cell_reader.h" struct TFE_MonitoringCounterReader { explicit TFE_MonitoringCounterReader(const char* name) { counter = std::make_unique< ::tensorflow::monitoring::testing::CellReader<int64_t>>(name); } template <typename... LabelType>
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual void SetStepId(int64_t step_id) = 0; // For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) { return ptr->getKind() == kEager || ptr->getKind() == kTfrt; } protected: explicit ImmediateExecutionOperation(AbstractOperationKind kind) : AbstractOperation(kind) {} ~ImmediateExecutionOperation() override {} }; namespace internal { struct ImmediateExecutionOperationDeleter {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
// environment, a traced representation etc. class AbstractContext { protected: enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler }; explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {} virtual ~AbstractContext() {} public: AbstractContextKind getKind() const { return kind_; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// placed on each underlying device. class ParallelDevice { public: // Eager async execution is only supported when remote eager is not in use // (b/157523095). explicit ParallelDevice(const std::vector<std::string>& devices, bool is_async = false, int in_flight_nodes_limit = 0); ~ParallelDevice();
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) -
tensorflow/c/experimental/gradients/tape/tape_context.h
#include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/experimental/gradients/tape/tape_operation.h" namespace tensorflow { namespace gradients { class TapeContext : public AbstractContext { public: explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&); void Release() override; TapeOperation* CreateOperation() override; Status RegisterFunction(AbstractFunction*) override;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
// representation between various supported formats e.g. FunctionDef and Mlir // function. class AbstractFunction : public core::RefCounted { protected: enum AbstractFunctionKind { kGraph, kMlir }; explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractFunctionKind getKind() const { return kind_; }
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)