Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for actually (0.15 sec)

  1. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. ci/official/requirements_updater/README.md

    unless indicated otherwise.
    
    1) Add the new version to the `VERSIONS` variable inside
       `tensorflow/tools/toolchains/python/python_repo.bzl`. \
       While this isn't necessary for running the updater, it is required for
       actually using the new version with Tensorflow.
    
    2) In the `WORKSPACE` file, add the new version to the `python_versions`
       parameter of the `python_register_multi_toolchains` function.
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_unified_experimental_internal.h

    // Represents either a MlirTensor or a GraphTensor.
    // This base class does not expose any public methods other than to distinguish
    // which subclass it actually is. The user is responsible to use the right
    // type of AbstractTensor in their context (do not pass an MlirTensor to a
    // GraphContext and vice-versa).
    class TracingTensorHandle : public AbstractTensorHandle {
     protected:
    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)
  4. tensorflow/api_template.__init__.py

    interfaces into a single place. The interfaces themselves are located in
    sub-modules, as described below.
    
    Note that the file `__init__.py` in the TensorFlow source code tree is actually
    only a placeholder to enable test cases to run. The TensorFlow build replaces
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  5. tensorflow/api_template_v1.__init__.py

    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    # Add module aliases from Keras to TF.
    # Some tf endpoints actually lives under Keras.
    _current_module.layers = _KerasLazyLoader(
        globals(),
        submodule="__internal__.legacy.layers",
        name="layers",
        mode="v1")
    if _tf_uses_legacy_keras:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // through TF_OpKernelContext, and is opaque to plugin.
    typedef struct TF_Device TF_Device;
    
    typedef struct TF_VariableInfo TF_VariableInfo;
    
    // Returns a `TF_Device` pointer, which actually points to a C++ `Device`.
    // Currently we only allow `NextPluggableDevice` to be casted as `TF_Device`,
    // but in theory every this is a C API for every kind of device.
    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)
  7. tensorflow/c/eager/c_api_test.cc

      if (forward_input) {
        TFE_DeleteTensorHandle(n);
      }
    
      int num_retvals = 1;
      if (async) {
        // Enqueue dummy ops so we backlog async execution & actually test async.
        // This is usually unnecessary, but we've experienced the occasional test
        // failure when testing async mode with no explicit forwarding.
        for (int i = 0; i < 100000; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  8. ci/official/wheel_test/README.md

    Example: For Python 3.11, use `3_11`
    
    The script performs the following steps:
    
    1. Navigates to the `../requirements_updater` directory.
    2. Creates a `requirements_wheel_test.in` file and specifies the path
    to the actual TensorFlow wheel.
    3. Creates a `requirements_lock_<python_version>.txt` file.
    4. Updates the `requirements_lock_<python_version>.txt` file using
    a Bazel command.
    5. Moves the updated `requirements_lock_<python_version>.txt` file
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // if the returned `Status` signals the unimplemented state.
    bool UnimplementedOrReturnsCode(Status actual_status, Code expected_code) {
      Code actual_code = actual_status.code();
      return (actual_code == Code::UNIMPLEMENTED) || (actual_code == expected_code);
    }
    
    TEST_P(ModularFileSystemTest, TestTranslateName) {
      const std::string generic_path = GetURIForPath("some_path");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            block->mu.Lock();  // Reacquire the lock immediately afterwards
            if (TF_GetCode(status) == TF_OK) {
              block->data.resize(bytes_transferred, 0);
              // Shrink the data capacity to the actual size used.
              // NOLINTNEXTLINE: shrink_to_fit() may not shrink the capacity.
              std::vector<char>(block->data).swap(block->data);
              downloaded_block = true;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
Back to top