Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc

    // to represent calling a TF host callback function.
    constexpr llvm::StringRef kTfTargetName = "tf.call_tf_function";
    
    // `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its
    // string attribute `caller_name` to the TF host callback function's name.
    constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config";
    constexpr llvm::StringRef kCalledFuncAttrName = "called_func";
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.h

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    
    namespace tensorflow {
    namespace quantization {
    
    inline constexpr absl::string_view kTfQuantConstantUnfreezingStepName =
        "tf_quant_constant_unfreezing";
    inline constexpr absl::string_view kTfQuantInsertRestoreOpStepName =
        "tf_quant_insert_restore_op";
    
    absl::Status UnfreezeConstantsAndSaveVariables(absl::string_view checkpoint_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 22:28:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.h

     public:
      using Base::Base;
      static constexpr mlir::StringLiteral name = "mlrt.compiler.future";
    };
    
    // The MLIR type represents a C++ mlrt::Promise.
    class PromiseType
        : public mlir::Type::TypeBase<PromiseType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
      static constexpr mlir::StringLiteral name = "mlrt.compiler.promise";
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top