Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for something (0.22 sec)

  1. tensorflow/c/experimental/grappler/grappler.cc

    // This file extends/implements core graph optimizer base classes in terms of
    // the C API defined in grappler.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface and a C
    // struct called "TP_Something".
    
    #include "tensorflow/c/experimental/grappler/grappler.h"
    
    #include <algorithm>
    #include <cstddef>
    #include <cstring>
    #include <string>
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  2. tensorflow/c/eager/parallel_device/parallel_device.cc

    //
    // TODO(allenl): There are some use-cases that are only supported by copying to
    // host at the moment (e.g. debug print on a tensor, .numpy(), etc.). We either
    // need to return something here or address these use-cases one by one.
    TFE_TensorHandle* CopyTensorFromParallelDevice(TFE_Context* context,
                                                   TFE_TensorHandle* tensor,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    // We will work with content_view instead of content.
    static const absl::string_view content_view = content;
    
    namespace gcs = google::cloud::storage;
    
    static std::string InitializeTmpDir() {
      // This env should be something like `gs://bucket/path`
      const char* test_dir = getenv("GCS_TEST_TMPDIR");
      if (test_dir != nullptr) {
        std::string bucket, object;
        TF_Status* status = TF_NewStatus();
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

          // We have to join path for non-local filesystem manually to make sure
          // that this test will run on Windows since `tensorflow::io::JoinPath`
          // behaves differently on Windows. `tmp_dir` should be something like
          // `path/to/tmp/dir/`. After joining path, we will have
          // /path/to/tmp/dir/tf_fs_rng_name/`
          root_dir_ = tensorflow::strings::StrCat(
              "/", tmp_dir_,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

    TEST_F(CApiFunctionTest, Description) {
      DefineFunction(func_name_, &func_, "Return something");
      tensorflow::FunctionDef fdef;
      ASSERT_TRUE(GetFunctionDef(func_, &fdef));
      ASSERT_EQ(string("Return something"), fdef.signature().description());
    }
    
    TEST_F(CApiFunctionTest, Name) {
      DefineFunction("long_func_name", &func_, "Return something",
                     /*append_hash=*/false);
      tensorflow::FunctionDef fdef;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top