Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExecuteWithBatch (0.42 sec)

  1. tensorflow/compiler/jit/tests/device_compiler_serialize_test.cc

      // Warmup the persistent cache(s) with multiple runs. 4 is a magic number to
      // detect non-determinism in TF when running the test.
      listener()->ClearListenerHistory();
      for (int b = 1; b < 4; ++b) {
        TF_ASSERT_OK(ExecuteWithBatch(graph, b));
      }
      TF_ASSERT_OK(listener()->VerifyPersistentCacheUseListenerHistory(
          /*expect_persistent_cache_use=*/false));
    
      // Reset the cluster numbering between sessions so we can get the same
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/tests/device_compiler_serialize_options_test.cc

      // Warmup the persistent cache(s) with multiple runs. 4 is a magic number to
      // detect non-determinism in TF when running the test.
      listener()->ClearListenerHistory();
      for (int b = 1; b < 4; ++b) {
        TF_ASSERT_OK(ExecuteWithBatch(graph, b));
      }
      TF_ASSERT_OK(listener()->VerifyPersistentCacheUseListenerHistory(
          /*expect_persistent_cache_use=*/false));
    
      // Reset the cluster numbering between sessions so we can get the same
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/tests/device_compiler_test_helper.h

      // Runs the graph using specified batch size both with and without XLA JIT
      // compilation. Returns an error if the results between the two do not match.
      Status ExecuteWithBatch(const GraphDef& graph, int batch);
    
      // Adds the suffix "_altered" to the HLO module names of all of the persistent
      // XLA compilation cache entries found at the specified directory. If none are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

                                   {{"dtype", DT_FLOAT}, {"shape", input_shape}});
      *graph.add_node() = MakeNode("m", "TestFn", {"a", "b", "c"}, {});
      return graph;
    }
    
    Status DeviceCompilerSerializeTest::ExecuteWithBatch(const GraphDef& graph,
                                                         int batch) {
      const TensorShape shape({batch, 4});
    
      // Compute the golden output tensor
      std::vector<Tensor> golden_output_tensors;
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top