Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for TEST_F (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

      }
      mlir::LogicalResult Run() { return pm_->run(module_.get()); }
    
     private:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(LegalizeTfTypesTest, RecordsStreamzQuantOps) {
      static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.cc

      }
    
      mlir::LogicalResult Run() { return pm_->run(module_.get()); }
    
     private:
      mlir::MLIRContext context_;
      mlir::OwningOpRef<mlir::ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(VerifyClusteringPassTest, OnlyTfFunctionalPasses) {
      static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 17:03:53 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc

    using ::testing::SizeIs;
    using ::testing::StrEq;
    using ::tsl::protobuf::TextFormat;
    using ::tsl::testing::IsOk;
    using ::tsl::testing::StatusIs;
    
    using SaveQuantizationReportInstrumentationTest = QuantizationTestBase;
    
    TEST_F(SaveQuantizationReportInstrumentationTest, SaveReport) {
      constexpr absl::string_view kModuleWithCompositeDotGeneral = R"mlir(
        func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

                         /*shape_determination_fns=*/{}, arg_shapes,
                         &arg_core_mapping, &per_core_arg_shapes, client)
                         .status());
      }
    };
    
    TEST_F(LegalizeTFQuantTest, LegalizesModuleWithTFUniformQuantization) {
      constexpr char mlir_module_string[] = R"mlir(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver_test.cc

      spec->biases_params[2] = {{0, 1}, quant::GetUniformQuantizedTypeForBias};
      for (const auto& [key, value] : spec->coeff_op_quant_dim) {
        spec->quantizable_operands.insert(key);
      }
      return spec;
    }
    
    TEST_F(ApplyQuantizationParamsPropagationTest,
           ConstsUsedMultipleTimesAreDuplicated) {
      const OwningOpRef<ModuleOp> module_op_ref =
          ParseModuleOpString(kModuleTFLite);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass_test.cc

        return run_result;
      }
    
     private:
      mlir::MLIRContext context_;
      mlir::OwningOpRef<ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(InputLoweringMetricsPassTest, CountsNoDynamicOps) {
      static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 19:42:09 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc

        }
        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TpuMetadataUtilsTest, SingleDevice) {
      TF_ASSERT_OK_AND_ASSIGN(auto cluster_func_ops,
                              GetClusterFuncOps("basic_cluster.mlir"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

        for (const std::string& file : files) {
          TF_ASSERT_OK(env_->DeleteFile(file));
        }
      }
    
      tsl::Env* env_;
      std::string test_dir_;
      std::unique_ptr<mlir::MLIRContext> ctx_;
    };
    
    TEST_F(EnableIrPrintingTest, PassSuccessfullyRuns) {
      mlir::PassManager pm = {ctx_.get()};
      pm.addPass(CreateNoOpPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_context_test.cc

      tensorflow::core::RefCountPtr<DeviceContext> device_context_;
      tensorflow::Allocator* host_allocator_;
      tensorflow::Allocator* device_allocator_;
    };
    
    #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
    TEST_F(DeviceContextTest, TestXlaGpuRoundTripTransferWithDeviceApi) {
      SetDevice(DEVICE_XLA_GPU);
      tensorflow::Tensor origin_cpu_tensor(host_allocator_, tensorflow::DT_FLOAT,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_prod.h

    // class.  For example:
    //
    // class MyClass {
    //  private:
    //   void MyMethod();
    //   FRIEND_TEST(MyClassTest, MyMethod);
    // };
    //
    // class MyClassTest : public testing::Test {
    //   // ...
    // };
    //
    // TEST_F(MyClassTest, MyMethod) {
    //   // Can call MyClass::MyMethod() here.
    // }
    
    #define FRIEND_TEST(test_case_name, test_name)\
    friend class test_case_name##_##test_name##_Test
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top