Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DeviceCompilerSerializeTest (0.27 sec)

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

      for (const auto& input : inputs) node.add_input(input);
      for (const auto& attr : attrs)
        node.mutable_attr()->insert({attr.first, attr.second.proto});
      return node;
    }
    
    }  // namespace
    
    GraphDef DeviceCompilerSerializeTest::GetTestGraph(
        const PartialTensorShape& input_shape) {
      FunctionDef make_test_fn = FunctionDefHelper::Define(
          "TestFn", {"a:float", "b:float", "c:float"}, {"m:float"}, {},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/tests/device_compiler_test_helper.h

     private:
      std::vector<XlaJitCompilationActivity> activity_history_;
    };
    
    // Fixture for testing XLA compilation cache serialization.
    class DeviceCompilerSerializeTest : public ::testing::Test {
     protected:
      DeviceCompilerSerializeTest() {
        auto listener = std::make_unique<JitCompilationListener>();
        listener_ = listener.get();
        RegisterXlaActivityListener(std::move(listener));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/tests/device_compiler_serialize_test.cc

    #include "tensorflow/compiler/jit/tests/device_compiler_test_helper.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    
    namespace tensorflow {
    namespace {
    
    TEST_F(DeviceCompilerSerializeTest, PersistentCacheTest) {
      GraphDef graph = GetTestGraph({-1, 4});
    
      // Warmup the persistent cache(s) with multiple runs. 4 is a magic number to
      // detect non-determinism in TF when running the test.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/tests/device_compiler_serialize_options_test.cc

    #include "tensorflow/compiler/jit/tests/device_compiler_test_helper.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    
    namespace tensorflow {
    namespace {
    
    TEST_F(DeviceCompilerSerializeTest, PersistentCacheOptionsTest) {
      GraphDef graph = GetTestGraph({-1, 4});
    
      // Warmup the persistent cache(s) with multiple runs. 4 is a magic number to
      // detect non-determinism in TF when running the test.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top