Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for defaults (0.24 sec)

  1. tensorflow/c/eager/c_api_experimental.h

      // appended later), but should include any information specific to this custom
      // device which would be useful for debugging.
      //
      // Optional. If null, defaults to resolving the TFE_TensorHandle into a
      // TF_Tensor and summarizing that.
      TF_Buffer* (*summarize)(void* data, TF_Status* status) = nullptr;
    } TFE_CustomDeviceTensorHandle;
    
    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)
  2. tensorflow/c/c_api.h

    // called.
    TF_CAPI_EXPORT extern TF_OperationDescription* TF_NewOperation(
        TF_Graph* graph, const char* op_type, const char* oper_name);
    
    // Specify the device for `desc`.  Defaults to empty, meaning unconstrained.
    TF_CAPI_EXPORT extern void TF_SetDevice(TF_OperationDescription* desc,
                                            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)
  3. tensorflow/c/eager/tape.h

        if (current_grad == accumulated_gradients_.end()) {
          if (IsDtypeTrainable(input_tensors[target_index].GetDType())) {
            // ForwardAccumulator defaults to zeros for unwatched Tensors, unlike
            // GradientTape which uses ones.
            Gradient* zero = input_tensors[target_index].ZerosLike();
            new_zeros.push_back(zero);
            in_grads.push_back(zero);
    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)
  4. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Builds and returns a `TracingContext` using the default tracing impl.
    AbstractContext* BuildFunction(const char* fn_name);
    
    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.h

    namespace tensorflow {
    
    // TODO(b/143949615): After all filesystems are converted, this file will be
    // moved to core/platform, and this class can become a singleton and replace the
    // need for `Env::Default()`. At that time, we might decide to remove the need
    // for `Env::Default()` altogether, but that's a different project, not in
    // scope for now. I'm just mentioning this here as that transition will mean
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_context.h

      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
      DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
      DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    };
    // LINT.ThenChange(//tensorflow/c/eager/c_api.h)
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top