Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for foo (0.17 sec)

  1. ci/official/wheel_test/README.md

    Packages are imported one by one in alphabetical order during runtime.
    
    The test doesn't identify package's order-dependent issues; for instance,
    importing "tf.foo" followed by "tf.bar" won't reveal that "tf.bar" depends on
    "tf.foo" being imported first.
    
    The `_api/v2/api_packages.txt` file is generated during the TensorFlow API v2
    init files creation process and is subsequently stored in the wheel file after
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

    from tensorflow.python import tf2 as _tf2
    _tf2.enable()
    
    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    # Make sure directory containing top level submodules is in
    # the __path__ so that "from tensorflow.foo import bar" works.
    # We're using bitwise, but there's nothing special about that.
    _API_MODULE = _sys.modules[__name__].bitwise
    _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__))
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_experimental_test.cc

                                                 "description", "label1", "label2");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell2 = TFE_MonitoringGetCellCounter2(counter2, "foo", "bar");
      TFE_MonitoringCounterCellIncrementBy(cell2, 2);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell2), 2);
    
      TFE_MonitoringDeleteCounter1(counter1);
      TFE_MonitoringDeleteCounter2(counter2);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/api_template_v1.__init__.py

        * `pip install -U "tensorflow==1.*"`
    
      Otherwise your code may be broken by the change.
    
      """)
    
    # Make sure directory containing top level submodules is in
    # the __path__ so that "from tensorflow.foo import bar" works.
    # We're using bitwise, but there's nothing special about that.
    _API_MODULE = _sys.modules[__name__].bitwise  # pylint: disable=undefined-variable
    _current_module = _sys.modules[__name__]
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. ci/official/utilities/setup.sh

    # Setup tfrun, a helper function for executing steps that can either be run
    # locally or run under Docker. setup_docker.sh, below, redefines it as "docker
    # exec".
    # Important: "tfrun foo | bar" is "( tfrun foo ) | bar", not "tfrun (foo | bar)".
    # Therefore, "tfrun" commands cannot include pipes -- which is
    # probably for the better. If a pipe is necessary for something, it is probably
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  6. ci/official/upload.sh

    fi
    source ci/official/utilities/get_versions.sh
    
    # Note on gsutil commands:
    # "gsutil cp" always "copies into". It cannot act on the contents of a directory
    # and it does not seem possible to e.g. copy "gs://foo/bar" as anything other than
    # "/path/bar". This script uses "gsutil rsync" instead, which acts on directory
    # contents. About arguments to gsutil:
    # "gsutil -m rsync" runs in parallel.
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 2);
    }
    
    TEST(RamFileBlockCacheTest, PassThrough) {
      const string want_filename = "foo/bar";
      const size_t want_offset = 42;
      const size_t want_n = 1024;
      int calls = 0;
      auto fetcher = [&calls, want_filename, want_offset, want_n](
                         const string& got_filename, size_t got_offset,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    // depending on the type of the string argument. We don't use these macros, so
    // undefine them here.
    #undef CopyFile
    #undef DeleteFile
    #undef TranslateName
    #endif  // defined(PLATFORM_WINDOWS)
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Attempt to create node in g2 with input from g1
      Neg(feed, g2, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s));
      EXPECT_STREQ("foo", TF_Message(s));
    
      TF_DeleteGraph(g1);
      TF_DeleteGraph(g2);
      TF_DeleteStatus(s);
    }
    */
    
    TEST(CAPI, ImportGraphDef) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// REQUIRED OPERATIONS: All required operations are marked as such, including
    /// operations which are conditionally required. If the presence of an operation
    /// `foo` requires operation `bar` to be present, this is specified in `foo`. If
    /// the entire set of operations in a table is not provided, use `nullptr` for
    /// the struct pointer (e.g., when a file type is not supported).
    ///
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top