- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for new (0.15 sec)
-
tensorflow/c/c_api.h
// This method is used to add a new input edge to 'dst', which must be a While // op. The While op's "T" attribute must have already been updated to include // the new edge. This is used to construct tf.while_loop gradients. TF_CAPI_EXPORT extern void TF_AddWhileInputHack(TF_Graph* graph, TF_Output new_src, TF_Operation* dst,
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/experimental/gradients/not_differentiable.h
Status Compute(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs, absl::Span<AbstractTensorHandle*> grad_inputs) override; }; // Shorthand for registry->Register(op, new NotDifferentiableGradientFunction) Status RegisterNotDifferentiable(GradientRegistry* registry, const string& op); } // namespace gradients } // namespace tensorflow
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Dec 03 22:28:48 GMT 2020 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// read current values from streamz counters defined in other modules. // // The code under test will have created streamz counters like this: // auto* streamz = tensorflow::monitoring::Counter<1>::New("name", // "description", "label"); // and then incremented that counter for various values of label: // streamz->GetCell("label-value")->IncrementBy(1); // // The test code can then read and test the value of that counter:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
// `status` checked. void Destroy(TFE_Context* context, TF_Status* status); // Reads from the variable. TensorHandlePtr Read(TFE_Context* context, TF_Status* status); // Assigns a new value to the variable. void Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status); // Adds `value` to the existing value of the variable. void AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
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/env.h
TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void); // Populates a TF_ThreadOptions struct with system-default values. TF_CAPI_EXPORT extern void TF_DefaultThreadOptions(TF_ThreadOptions* options); // Returns a new thread that is running work_func and is identified // (for debugging/performance-analysis) by thread_name. // // The given param (which may be null) is passed to work_func when the thread
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
template <typename... LabelDesc> TFE_MonitoringCounter(const char* name, const char* description, LabelDesc&&... label) { counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New( name, description, label...)); } std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter; }; struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Create a new TFE_TensorHandle with the same contents as 'h' but placed // in the memory of the device name 'device_name'. // If source and destination are the same device, then this creates a new handle // that shares the underlying buffer. Otherwise, it currently requires at least
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) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
class ImmediateExecutionDistributedManager { public: virtual ~ImmediateExecutionDistributedManager() {} // Set up distributed execution environment on local and remote tasks. // When `reset_context` is true, initialize new cluster context state based // on cluster configurations provided in `server_def`; otherwise, update // existing context state with the provided `server_def`. Contexts created
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
template <typename G> Cleanup(Cleanup<G>&& src) // NOLINT : released_(src.is_released()), f_(src.release()) {} // Assignment to a Cleanup object behaves like destroying it // and making a new one in its place, analogous to unique_ptr // semantics. Cleanup& operator=(Cleanup&& src) { // NOLINT if (!released_) f_(); released_ = src.released_; f_ = src.release(); return *this; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
} // We may need to allocate zero inputs for trainable dtypes we don't have JVPs // for. Make sure they get cleaned up. std::vector<Gradient*> new_zeros; auto delete_new_zeros = gtl::MakeCleanup([&new_zeros, this] { for (Gradient* tensor : new_zeros) { this->vspace_.DeleteGradient(tensor); } }); std::vector<Gradient*> in_grads; in_grads.reserve(input_tensors.size());
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)