Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for Sets (0.14 sec)

  1. tensorflow/c/eager/immediate_execution_context.h

      // Enables running eager ops as functions.
      virtual void SetRunEagerOpAsFunction(bool enable) = 0;
    
      // Enables rewriting jit_compile functions.
      virtual void SetJitCompileRewrite(bool enable) = 0;
    
      // Sets the device placement policy for the current thread.
      virtual void SetThreadLocalDevicePlacementPolicy(
          ContextDevicePlacementPolicy policy) = 0;
      // Returns the device placement policy for the current thread.
    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)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      return status.ok();
    }
    
    // Tests whether a URI scheme results in a filesystem that is supported.
    //
    // As we need these URI schemes to instantiate the test suite when
    // `testing::InitGoogleTest` gets called, here we just store them to an
    // internal scheme registry. See `URISchemeRegister` above.
    static bool GetURIScheme(const std::string& scheme) {
      tensorflow::SchemeVector()->push_back(scheme);
      return true;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. 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 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  7. tensorflow/BUILD

        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:fuchsia"],
            [],
        ),
        values = if_oss(
            # TODO(b/149248802) When we have a Fuchsia Bazel SDK update to use the values it sets.
            {"cpu": "fuchsia"},
            {},
        ),
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "fuchsia_x86_64",
        constraint_values = if_google(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  8. 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 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// Releases all resources used by the filesystem
      ///
      /// NOTE: TensorFlow does not unload DSOs. Thus, the only way a filesystem
      /// won't be registered anymore is if this function gets called by core
      /// TensorFlow and the `TF_Filesystem*` object is destroyed. However, due to
      /// registration being done in a static instance of `Env`, the destructor of
      /// `FileSystem` is never called (see
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/dlpack.cc

      TensorReference reference;
      std::vector<int64_t> shape;
      std::vector<int64_t> strides;
      DLManagedTensor tensor;
    
      explicit TfDlManagedTensorCtx(const TensorReference& ref) : reference(ref) {}
    };
    
    // Gets tensor from eager tensor handle.
    const Tensor* GetTensorFromHandle(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top