Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 303 for constexpr (0.17 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/utils/xla_call_module_attrs.h

    // The main function's name in the serialized stablehlo module embedded in
    // XlaCallModule's `module` attribute.
    constexpr llvm::StringRef kStablehloMainFunctionName = "main";
    
    // After deserializing the stablehlo functions from XlaCallModule,
    // this XlaCallModule attribute refers to the deserialized stablehlo main
    // function.
    constexpr llvm::StringRef kStablehloEntryFunctionAttrName = "_entry_function";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 22:08:10 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/codegen_test_h.golden

      static constexpr size_t kResultIndex = 0;
    
      // Shapes of the input arguments.
      static constexpr int32_t kArg0Shapes[] = {
    1, 2
      };
      static constexpr int32_t kArg1Shapes[] = {
    3, 4
      };
      static constexpr int32_t kArg2Shapes[] = {
    1
      };
      static constexpr int32_t kArg3Shapes[] = {
    1
      };
      static constexpr int32_t kArg4Shapes[] = {
    5
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    using tpu::FunctionToHloArgs;
    using tpu::MlirToHloArgs;
    using tpu::ShardingAndIndex;
    using tpu::TPUCompileMetadataProto;
    
    static constexpr char kCompilationTimeStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/phase2_compilation_time";
    static constexpr char kFullBridge[] = "full_bridge";
    static constexpr char kCompilationStatusStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/phase2_compilation_status";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc

    namespace mlir {
    namespace TFL {
    namespace tac {
    namespace {
    // CPU
    constexpr float kCPUArithmeticUnitCost = 1.0;
    
    // This basically assumes pure load/store. This is just fake data.
    constexpr float kCPUCopyUnitCost = 0.5;
    
    // Default values.
    constexpr float kCPUDefaultFixedValuedCost = 10000.0;
    
    // Quantized inference cost efficiency.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

    using ::testing::IsEmpty;
    using ::testing::IsNull;
    using ::testing::NotNull;
    using ::testing::Optional;
    using ::tsl::testing::StatusIs;
    
    using AttrsAndConstraintsTest = ::mlir::quant::QuantizationTestBase;
    
    constexpr absl::string_view kModuleStatic = R"mlir(
      module {
        func.func @main(%arg0: tensor<1x1024xf32>, %arg1: tensor<1024x3xf32>) -> tensor<1x3xf32> attributes {_from_xla_call_module} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/constants.h

    // with existing function's name.
    inline constexpr StringRef kTfQuantSaveFuncName = "tf_quant__save";
    
    // Name of the TensorFlow Operation to be fetched to save the variables to
    // checkpoint. This save op follows the SavedModel's load semantics, so it
    // should return the file prefix of the checkpoint as a string tensor.
    inline constexpr StringRef kTfQuantSaveOpName = "tf_quant__save_op";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 13 02:55:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top