Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 315 for constexpr (0.57 sec)

  1. tensorflow/cc/saved_model/constants.h

    inline constexpr char kSavedModelLegacyInitOpKey[] = "legacy_init_op";
    
    /// SavedModel main op collection key. Used in v1 SavedModels.
    inline constexpr char kSavedModelMainOpKey[] = "saved_model_main_op";
    
    // CollectionDef key for the SavedModel train op.
    // Not exported while export_all_saved_models is experimental.
    inline constexpr char kSavedModelTrainOpKey[] = "saved_model_train_op";
    
    // Schema version for SavedModel.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:02:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/base/tests/tensor_types_test_util.h

    struct FloatType {
      using type = float;
      static constexpr TF_DataType kDType = TF_FLOAT;
    };
    
    struct DoubleType {
      using type = double;
      static constexpr TF_DataType kDType = TF_DOUBLE;
    };
    
    struct Int32Type {
      using type = int32_t;
      static constexpr TF_DataType kDType = TF_INT32;
    };
    
    struct UINT8Type {
      using type = uint8_t;
      static constexpr TF_DataType kDType = TF_UINT8;
    };
    
    struct INT8Type {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 00:34:05 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size_test.cc

      auto const_op = dyn_cast_or_null<TF::ConstOp>(block.front());
      EXPECT_TRUE(const_op);
    
      return const_op;
    }
    
    TEST_F(GetSizeInBytesTest, Int32ScalarConstOpSizeInBytes) {
      constexpr absl::string_view kConstOpExpr =
          R"mlir(%cst = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>)mlir";
    
      Block block{};
      TF::ConstOp int_tensor_const_op = ParseConstOp(kConstOpExpr, block, ctx_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:37:13 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/cc/saved_model/saved_model_bundle_test.cc

    constexpr char kTestDataV2DebugInfo[] =
        "cc/saved_model/testdata/x_plus_y_v2_debuginfo";
    constexpr char kTestFuzzGeneratedNegativeShape[] =
        "cc/saved_model/testdata/fuzz_generated/negative_shape";
    constexpr char kTestFuzzGeneratedConstWithNoValue[] =
        "cc/saved_model/testdata/fuzz_generated/const_with_no_value";
    constexpr char kTestFuzzGeneratedBadNodeAttr[] =
        "cc/saved_model/testdata/fuzz_generated/bad_node_attr";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc

      EXPECT_TRUE(succeeded(parse_result));
    
      return cast<ModuleOp>(block.front());
    }
    
    TEST_F(TfSavedModelTest,
           GetInitializerFunctionReturnsNullWhenNoSessionInitializerOp) {
      constexpr StringRef kModuleOpStr =
          R"mlir(module attributes {tf_saved_model.semantics} {})mlir";
    
      Block block;
      ModuleOp module_op = ParseModuleOp(kModuleOpStr, block, ctx_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top