- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for computed (0.24 sec)
-
tensorflow/c/eager/tape.h
// is used as an input to an op (so we know when we're done computing gradients // for that Tensor). We also count, for each tape entry, how many of its output // Tensors need gradients to be computed (Tensors which are not used do not need // any gradients to be computed). // // Finally, we start a backprop stack with a set of tape entries for which we // have all gradients available. This set usually is a subset of the set of
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/c_api_internal.h
std::string getTF_OutputDebugString(TF_Output node); // Set whether to propagate assigned device information when constructing a new // Graph from a GraphDef. By default assigned device information is not copied // and is re-computed by the runtime. inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec( TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) { opts->opts.propagate_device_spec = propagate_device_spec; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// will block till the operation that produces `h` has completed. TF_CAPI_EXPORT extern const char* TFE_TensorHandleDeviceName( TFE_TensorHandle* h, TF_Status* status); // Returns the name of the device in whose memory `h` resides. // // This function will block till the operation that produces `h` has completed. TF_CAPI_EXPORT extern const char* TFE_TensorHandleBackingDeviceName(
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/parallel_device/parallel_device_lib.h
dtype_(dtype) {} 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_; };
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/not_differentiable.h
namespace tensorflow { namespace gradients { // Ignores `grad_outputs` and sets all entries in grad_inputs to nullptr. class NotDifferentiableGradientFunction : public GradientFunction { Status Compute(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs, absl::Span<AbstractTensorHandle*> grad_inputs) override; };
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/c_api.h
TF_Status* status, TF_Output* dy); // Adds operations to compute the partial derivatives of sum of `y`s w.r.t `x`s, // i.e., d(y_1 + y_2 + ...)/dx_1, d(y_1 + y_2 + ...)/dx_2... // This is a variant of TF_AddGradients that allows to caller to pass a custom // name prefix to the operations added to a graph to compute the gradients. // // `dx` are used as initial gradients (which represent the symbolic partial
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/c_test.c
TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s); TF_DeleteStatus(s); return NULL; } // A compute function. This will never actually get called in this test, it's // just nice to know that it compiles. void compute(void* kernel, TF_OpKernelContext* ctx) { TF_Tensor* input; TF_Status* s = TF_NewStatus(); TF_GetInput(ctx, 0, &input, s); TF_DeleteTensor(input);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// found, call `compute_func`. If `compute_func` set `status` to `TF_OK`, /// store a copy of the output parameter in the cache, and another copy in /// `value`. void LookupOrCompute(const std::string& key, T* value, const ComputeFunc& compute_func, TF_Status* status) { if (max_age_ == 0) { return compute_func(key, value, status); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Struct to be filled in to define a custom device tensor handle. Fields are // required except where indicated. typedef struct TFE_CustomDeviceTensorHandleMethods { int version = TFE_CUSTOM_DEVICE_VERSION; // Computes the rank of the tensor handle. // // Shapes are specified via callbacks because retrieving the shape of a tensor // is a blocking operation for async eager; custom devices should avoid
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/eager/gradients.h
namespace gradients { // =============== Experimental C++ API for computing gradients =============== // Sample gradient function: // // class AddGradientFunction : public GradientFunction { // public: // Status Compute(Context* ctx, // absl::Span<AbstractTensorHandle* const> grad_inputs, // absl::Span<AbstractTensorHandle*> grad_outputs) override { // grad_outputs[0] = grad_inputs[0];
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)