Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for constexpr (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

    }
    
    TEST(TestUtil, MlirModuleDoesNotHave) {
      constexpr char arbirary_mlir[] = "arbirary_mlir";
      constexpr char bad_mlir[] = "bad_mlir";
    
      ASSERT_THAT(success(arbirary_mlir), Not(HasMlirModuleWith(bad_mlir)));
    }
    
    TEST(TestUtil, MlirModuleDoesNotHaveFiltered) {
      constexpr char arbirary_mlir[] = "arbirary_mlir";
      constexpr char bad_mlir[] = "bad_mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

    using tpu::TPUCompileMetadataProto;
    
    static constexpr char kMlirLegalizeCount[] =
        "/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_count";
    static constexpr char kMlirLegalizeErrors[] =
        "/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_pass_count";
    static constexpr char kBridgeStatusCounter[] =
        "/tensorflow/core/tf2xla/api/v2/phase2_compilation_status";
    constexpr char kMlirCombinedMlirSuccess[] = "kMlirCombinedMlirSuccess";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/func_test.cc

    namespace mlir::quant {
    namespace {
    
    using ::testing::IsNull;
    using ::testing::NotNull;
    
    using FindMainFuncOpTest = ::mlir::quant::QuantizationTestBase;
    
    TEST_F(FindMainFuncOpTest, ReturnsMainFuncOp) {
      constexpr absl::string_view kModuleWithMainFunc = R"mlir(
        module {
          func.func @main() -> () {
            return
          }
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleWithMainFunc);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.h

    // for debugging.
    inline constexpr absl::string_view kTfQuantPtqPreCalibrationStepName =
        "tf_quant_ptq_pre_calibration";
    inline constexpr absl::string_view kTfQuantPtqPostCalibrationStepName =
        "tf_quant_ptq_post_calibration";
    inline constexpr absl::string_view kTfQuantQatStepName = "tf_quant_qat";
    inline constexpr absl::string_view kTfQuantPtqDynamicRangeStepName =
        "tf_quant_ptq_dynamic_range";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 15:31:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass_test.cc

    using ::mlir::mhlo::test::GetMlirModuleFromString;
    using ::tensorflow::monitoring::testing::CellReader;
    
    constexpr char kNotDynamicFunctionName[] = "kNotDynamicFunction";
    constexpr char kDynamicFunctionName[] = "kDynamicFunction";
    static constexpr char kDynamismOpCounterStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/dynamism_op_counter";
    static constexpr char kDynamismFunctionCounterStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/dynamism_function_counter";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 19:42:09 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    // Device types.
    inline constexpr llvm::StringRef kTpuDevice = "TPU";
    // _xla_outside_compilation
    inline constexpr llvm::StringRef kXlaOutsideCompilationAttr =
        "_xla_outside_compilation";
    // device attr
    inline constexpr llvm::StringRef kDeviceAttr = "device";
    // Function attribute to signal that a function should be skipped from TPU
    // island outlining. The attribute is set in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc

    using ::tensorflow::monitoring::testing::CellReader;
    
    static constexpr char kFailedLegalizationStreamz[] =
        "/tensorflow/core/tf2xla/mlir_second_phase_failed_legalization_op_count";
    static constexpr char kNonStaticOpStreamz[] =
        "/tensorflow/core/tf2xla/mlir_second_phase_non_static_op_count";
    static constexpr char kNonStaticOpSkipStreamz[] =
        "/tensorflow/core/tf2xla/mlir_second_phase_non_static_op_skip_count";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

    // the SessionInitializerOp.
    inline constexpr StringRef kTfSavedModelInitializerTypeAttr =
        "tf_saved_model.initializer_type";
    
    // Indicates that the initializer corresponds to the restore op.
    inline constexpr StringRef kTfSavedModelInitializerRestoreType = "restore_op";
    
    // Indicates that the initializer corresponds to the init op.
    inline constexpr StringRef kTfSavedModelInitializerInitType = "init_op";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass_test.cc

     private:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(VerifyNoOutsideCompilationMarkersPassTest, PassesValidOps) {
      static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
        func.func @main() -> tensor<1xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.h

    #include "mlir/Interfaces/SideEffectInterfaces.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFR {
    
    constexpr char kAttrArgumentNameAttr[] = "tfr.name";
    constexpr char kAttrArgumentDefaultAttr[] = "tfr.default";
    constexpr char kAttrArgumentTypeAttr[] = "tfr.type";
    
    class TFRDialect : public Dialect {
     public:
      explicit TFRDialect(MLIRContext *context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 01 14:00:36 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top