Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for helper (0.21 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

                       &FloatDeallocator, nullptr),
          TF_DeleteTensor);
      return TensorHandlePtr(TFE_NewTensorHandle(tensor.get(), status));
    }
    
    // Helper to un-pack `num_replicas` TFE_TensorHandles from one parallel handle.
    template <std::size_t num_replicas>
    void ExtractPerDeviceValues(
        TFE_Context* context, TFE_TensorHandle* input,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/BUILD

            "//tensorflow/c:c_api_internal",
            "//tensorflow/c:c_api_no_xla",
            "//tensorflow/c:checkpoint_reader",
            "//tensorflow/c:tensor_interface",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c:tf_tensor_internal",
            "//tensorflow/cc/saved_model:loader",
            "//tensorflow/compiler/mlir/lite/metrics:error_collector",
    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)
  3. tensorflow/c/c_api_function_test.cc

        return UseT(ToOutput(inputs));
      }
    
      TF_Operation* UseT(const std::vector<TF_Output>& inputs) {
        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
      // All the *Helper methods are used as a workaround for the restrictions that
      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  4. tensorflow/c/eager/tape.h

      // ignore operations executed as a direct result of their own jvp
      // computations.
      void PushState() { call_state_.emplace(nullptr, false); }
      void PopState() { call_state_.pop(); }
    
     private:
      // Helper for Accumulate: uses a GradientTape to compute forward gradients
      // from a backward gradient function. Fills `out_grads` corresponding to
      // `output_tensors`. `out_grads` must not be null.
      //
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device.cc

    #include "tensorflow/c/eager/parallel_device/parallel_device_lib.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    
    namespace tensorflow {
    namespace parallel_device {
    namespace {
    
    class OpDeleter {
     public:
      void operator()(TFE_Op* to_delete) const { TFE_DeleteOp(to_delete); }
    };
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  6. configure.py

        write_to_bazelrc('build --define=override_eigen_strong_inline=true')
    
    
    def config_info_line(name, help_text):
      """Helper function to print formatted help text for Bazel config options."""
      print('\t--config=%-12s\t# %s' % (name, help_text))
    
    
    def configure_ios(environ_cp):
      """Configures TensorFlow for iOS builds."""
      if not is_macos():
        return
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  7. RELEASE.md

    *   `tf.compat.v1.Session`
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h"
    
    #include <random>
    
    #include "absl/strings/string_view.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/stacktrace_handler.h"
    #include "tensorflow/core/platform/test.h"
    
    #define ASSERT_TF_OK(x) ASSERT_EQ(TF_OK, TF_GetCode(x)) << TF_Message(x)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // set options for creating a PJRT client. Passes nullptr for create_options and
    // 0 for num_options if no options need to be set. You can use
    // ConvertToPjRtNamedValueList in
    // tensorflow/compiler/xla/pjrt/c/pjrt_c_api_helpers.h to generate the options.
    TF_CAPI_EXPORT extern void TF_CreateAndSetPjRtCApiClient(
        const char* device_type, TF_Status* status, PJRT_NamedValue* create_options,
        int num_options);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_internal.h

    // backends (graph/MLIR).
    //
    // This defines a set of abstract classes that are intended to provide the
    // functionality of the opaque C types exposed in the public APIs defined in the
    // `c_api_unified_experimental.h` header.
    // =============================================================================
    
    // Represents either a MlirTensor or a GraphTensor.
    // This base class does not expose any public methods other than to distinguish
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top