Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for arg_data (0.12 sec)

  1. tensorflow/compiler/aot/test_google.cc

    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    namespace {
    
    void zero_buffers(XlaCompiledCpuFunction* computation) {
      for (int i = 0; i < computation->num_args(); ++i) {
        memset(computation->arg_data(i), 0, computation->arg_size(i));
      }
    }
    
    // Trivial test that runs the generated function to ensure it doesn't crash.
    TEST(TEST_NAME, NoCrash) {
      Eigen::ThreadPool pool(port::MaxParallelism());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/test.cc

    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    namespace {
    
    void zero_buffers(XlaCompiledCpuFunction* computation) {
      for (int i = 0; i < computation->num_args(); ++i) {
        memset(computation->arg_data(i), 0, computation->arg_size(i));
      }
    }
    
    // Trivial test that runs the generated function to ensure it doesn't crash.
    TEST(TEST_NAME, NoCrash) {
      Eigen::ThreadPool pool(port::MaxParallelism());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/tests/rewrite_quantized_io.mlir

    // CHECK-LABEL: @tf__my_requantize
    tfr.func @tf__my_requantize(%input: !tfr.tensor) -> !tfr.tensor {
      %raw_data = tfr.quant_raw_data(%input) : (!tfr.tensor) -> !tfr.tensor
      %scale, %zp = tfr.quant_qparam(%input) : (!tfr.tensor) -> (!tfr.tensor, !tfr.tensor)
      %result = tfr.call @tf__requantize(%raw_data, %scale, %zp) : (!tfr.tensor, !tfr.tensor, !tfr.tensor) -> !tfr.tensor
      tfr.return %result : !tfr.tensor
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

     */
    class HpackRoundTripTest : HpackDecodeTestBase() {
      internal class StoriesTestProvider : SimpleProvider() {
        override fun arguments(): List<Any> = createStories(RAW_DATA)
      }
    
      private val bytesOut = Buffer()
      private val hpackWriter = Hpack.Writer(out = bytesOut)
    
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testRoundTrip(story: Story) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top