Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Sets (0.22 sec)

  1. tensorflow/c/experimental/gradients/not_differentiable.h

    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/gradients.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,
    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)
  2. tensorflow/c/c_api.h

    // `g` will be returned. Else, an unspecified subset.
    //
    // If successful, returns the number of TF_Function* successfully set in
    // `funcs` and sets status to OK. The caller takes ownership of
    // all the returned TF_Functions. They must be deleted with TF_DeleteFunction.
    // On error, returns 0, sets status to the encountered error, and the contents
    // of funcs will be undefined.
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      ~ParallelDevice();
    
      // Helper to copy a tensor handle from another device once for each component
      // of the ParallelDevice.
      //
      // Sets a bad status and returns a nullptr if `tensor` is already on the
      // ParallelDevice, or if the individual copies fail.
      std::unique_ptr<ParallelTensor> CopyToParallelDevice(TFE_Context* context,
    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)
  4. tensorflow/c/eager/c_api_experimental.h

        TFE_MonitoringSampler2* sampler);
    TF_CAPI_EXPORT extern TFE_MonitoringSamplerCell* TFE_MonitoringGetCellSampler2(
        TFE_MonitoringSampler2* sampler, const char* label1, const char* label2);
    
    // Sets whether to use TFRT
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetTfrt(TFE_ContextOptions*,
                                                         bool use_tfrt);
    
    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)
  5. tensorflow/c/eager/c_api_test_util.h

    TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input,
                  TFE_TensorHandle* axis);
    
    // If there is a device of type `device_type`, returns true
    // and sets 'device_name' accordingly.
    // `device_type` must be either "GPU" or "TPU".
    bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name,
                       const char* device_type);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

      TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    } TFE_ContextDevicePlacementPolicy;
    // LINT.ThenChange(//tensorflow/c/eager/immediate_execution_context.h)
    
    // Sets the default execution mode (sync/async). Note that this can be
    // overridden per thread using TFE_ContextSetExecutorForThread.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
    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)
  7. tensorflow/c/eager/abstract_operation.h

      // executor. After that, the value returned by DeviceName will be a full
      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
      // the result will be used as a constraint for device placement. See the
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.h

    // enabled through MarkForCompilationPassFlags.
    TF_CAPI_EXPORT unsigned char TF_GetXlaAutoJitEnabled();
    
    // Sets XLA's minimum cluster size. This has global effect.
    TF_CAPI_EXPORT void TF_SetXlaMinClusterSize(int size);
    
    // Gets/Sets TF/XLA flag for whether(true) or not(false) to disable constant
    // folding. This is for testing to ensure that XLA is being tested rather than
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      //
      // Executes the backward function in order to trace its gradient, which will
      // waste computation if executing eagerly (when graph building the unneeded
      // computation is pruned). Temporarily sets `backward_tape` so that
      // Accumulate will forward op executions to the tape while the backward
      // function is running; this effectively adds the backward tape to the active
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/eager/gradients_internal.h

    Status AddInput(AbstractOperation*, AbstractTensorHandle*, ForwardOperation*);
    Status AddInputList(AbstractOperation*,
                        absl::Span<AbstractTensorHandle* const> inputs,
                        ForwardOperation*);
    
    // Sets the attrs in the `ForwardOperation`.
    Status SetAttrString(AbstractOperation*, const char* attr_name,
                         const char* data, size_t length, ForwardOperation*);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
Back to top