Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for we (0.25 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // loaded, we can only check for availability after all arguments have been
    // parsed.
    //
    // Furthermore, as `INSTANTIATE_TEST_SUITE_P` needs to be at global level and we
    // don't want to have a `std::vector<std::string>` at global level, we use a
    // static pointer to such a vector: we construct it via `SchemeVector()` below
    // and when tests are instantiated we process it using `GetSchemes()`.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

        TF_DeleteOutputList(func_outputs);
      }
    
      /**
       * We traced so far this function:
       *
       *   def two_adds(a, b):
       *     my_add1 = a + b
       *     my_add2 = b + b
       *     return my_add1, my_add2
       *
       * Now we will execute this function with an eager context:
       *
       *   output1, output2 = two_adds(2.0, 3.0)
       *
       * and check that we got 5.0 and 6.0 as results.
       */
    
      // Build eager context.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
    
    # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
    # > TF's gen_api_init_files has a genrule to run the core TensorFlow code
    # > on the host machine. If we don't have --distinct_host_configuration=false,
    # > the core TensorFlow code will be built once for the host and once for the
    # > target platform.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/tflite-other.md

    Request - Documentation Bug - Others validations: required: true - type:
    markdown attributes: value: | Please make sure that this is a bug. As per our
    [GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),we
    only address code/doc bugs, performance issues, feature requests and
    build/installation issues on GitHub.
    
    -   type: markdown
        attributes:
          value: |
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Dec 29 22:28:29 GMT 2022
    - 3.4K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache4, want_filename, want_offset, want_n, &out));
      EXPECT_EQ(calls, 4);
    }
    
    TEST(RamFileBlockCacheTest, BlockAlignment) {
      // Initialize a 256-byte buffer.  This is the file underlying the reads we'll
      // do in this test.
      const size_t size = 256;
      std::vector<char> buf;
      buf.reserve(size);
      for (int i = 0; i < size; i++) {
        buf.push_back(i);
      }
    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)
  6. tensorflow/c/eager/parallel_device/BUILD

        licenses = ["notice"],
    )
    
    # Currently pybind extension shared objects must use only C API headers since
    # the C API has static initializers duplicated in the Python bindings. So we
    # need a second rule that omits .cc files, in
    # tensorflow/python:_pywrap_parallel_device.
    filegroup(
        name = "lib_headers",
        srcs = ["parallel_device_lib.h"],
    )
    
    filegroup(
        name = "lib_sources",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test.cc

        if (forward_input) {
          // Since the input was forwarded, we released the input handle right away
          // and hence expect the input to be forwarded to the return tensor.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        } else {
          // In async mode we expect forwarding to work without releasing the input
          // handle since by the time the kernel is executed we have released the
          // handle in the client code.
    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. tensorflow/c/experimental/gradients/nn_grad_test.cc

      // `gradient_checker` only works with model that returns only 1 tensor.
      // Although, `ops::SparseSoftmaxCrossEntropyWithLogits` returns 2 tensors, the
      // second tensor isn't needed for computing gradient so we could safely drop
      // it.
      outputs[0] = loss;
      backprop->Unref();
      return absl::OkStatus();
    }
    
    Status BiasAddModel(AbstractContext* ctx,
                        absl::Span<AbstractTensorHandle* const> inputs,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(dir);
      // Note that `children` is allocated by the plugin and freed by core
      // TensorFlow, so we need to use `plugin_memory_free_` here.
      char** children = nullptr;
      const int num_children =
          ops_->get_children(filesystem_.get(), translated_name.c_str(), &children,
                             plugin_status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

          src.flat<tstring>()(i) = data[i];
        }
        TF_Tensor* dst = TF_TensorFromTensor(src, &status);
        ASSERT_TRUE(status.ok()) << status.message();
    
        // Convert back to a C++ Tensor and ensure we get expected output.
        Tensor output;
        ASSERT_EQ(absl::OkStatus(), TF_TensorToTensor(dst, &output)) << line;
        ASSERT_EQ(src.NumElements(), output.NumElements()) << line;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top