- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for forward (0.22 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
template <typename F> class Cleanup { public: Cleanup() : released_(true), f_() {} template <typename G> explicit Cleanup(G&& f) // NOLINT : f_(std::forward<G>(f)) {} // NOLINT(build/c++11) Cleanup(Cleanup&& src) // NOLINT : released_(src.is_released()), f_(src.release()) {} // Implicitly move-constructible from any compatible Cleanup<G>.
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/experimental/gradients/grad_test_helper.h
double abs_error = 1e-2); void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals, absl::Span<const int64_t> dims, double abs_error = 1e-2); Model BuildGradModel(Model forward, GradientRegistry registry); } // namespace internal } // namespace gradients } // namespace tensorflow
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jan 14 20:36:51 GMT 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
forward_grads.resize(output_tensors.size()); TF_RETURN_IF_ERROR(ForwardpropFromTape( op_type, output_tensors, backward_function_getter, backward_function_deleter, in_grads, absl::MakeSpan(forward_grads))); } else { TF_RETURN_IF_ERROR( (*forward_function)(in_grads, &forward_grads, use_batch_)); } for (int i = 0; i < forward_grads.size(); ++i) { if (forward_grads[i] != nullptr) {
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) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// ParallelTensor per output of the original operation. // // Attributes are forwarded to executed operations unmodified. // // The returned optional has a value if and only if `status` evaluates to // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or // if sanity checks on dtypes/metadata fail.
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/eager/parallel_device/parallel_device.h
#include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h" namespace tensorflow { namespace parallel_device { // Allocate a parallel device named `device_name` which forwards operations to // `underlying_devices`, maintaining "parallel tensors" with components placed // on each underlying device. // // For example if `device_name` is // "/job:localhost/replica:0/task:0/device:CUSTOM:0"
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/gradient_checker.h
#include "tensorflow/c/eager/unified_api_testutil.h" namespace tensorflow { namespace gradients { /* Returns numerical grad inside `dtheta_approx` given `forward` model and * parameter specified by `input_index`. * * I.e. if y = <output of the forward model> and w = inputs[input_index], * this will calculate dy/dw numerically. * * `use_function` indicates whether to use graph mode(true) or eager(false). *
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 02:34:32 GMT 2020 - 1.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
// For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) { return ptr->getKind() == kTape; } ~TapeOperation() override; private: AbstractOperation* parent_op_; ForwardOperation forward_op_; Tape* tape_; const GradientRegistry& registry_; }; } // namespace gradients } // namespace tensorflow
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) -
tensorflow/c/eager/gradients.h
// } // ~AddGradientFunction() override {} // }; // // GradientFunction* AddRegisterer(const ForwardOperation& op) { // // More complex gradient functions can use inputs/attrs etc. from the // // forward `op`. // return new AddGradientFunction; // } // // Status RegisterGradients(GradientRegistry* registry) { // return registry->Register("Add", AddRegisterer); // } class GradientFunction { public:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0)