Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for constexpr (0.16 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

    using ::testing::SizeIs;
    using ::testing::StrEq;
    using ::tsl::protobuf::util::MessageDifferencer;
    using ::tsl::testing::IsOk;
    using ::tsl::testing::StatusIs;
    
    using LiftAsFunctionCallTest = QuantizationTestBase;
    
    constexpr absl::string_view kModuleLifted = R"mlir(
      module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

        {tsl::monitoring::Buckets::Exponential(1, 1.5, 45)});
    
    // There were no MLIR ops so the old bridge was called successfully.
    constexpr char kOldBridgeNoMlirSuccess[] = "kOldBridgeNoMlirSuccess";
    // There were no MLIR ops so the old bridge was called but it failed.
    constexpr char kOldBridgeNoMlirFailure[] = "kOldBridgeNoMlirFailure";
    
    namespace {
    
    // Time the execution of kernels (in CPU cycles). Meant to be used as RAII.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

    // `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its
    // i64 attribute `called_index` to the TF function's name.
    constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config";
    constexpr llvm::StringRef kCalledIndexAttrName = "called_index";
    constexpr llvm::StringRef kCalledFuncAttrName = "called_func";
    
    // Deserialize the StableHLO module embedded in XlaCallModuleOp's module
    // attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    // Device coordinates are defined as (x, y, z, core), thus resulting in a rank 4
    // topology.
    constexpr int kTPUTopologyRank = 4;
    
    constexpr char kDeviceTPUSystem[] = "TPU_SYSTEM";
    constexpr char kDeviceTPU[] = "TPU";
    constexpr char kTPUReplicatedCore[] = "TPU_REPLICATED_CORE";
    constexpr char kTPUReplicatedHost[] = "TPU_REPLICATED_HOST";
    constexpr char kBadIntArrayElementMsg[] =
        "bad '{0}' attribute at index {1}, not an int";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

    namespace tensorflow {
    namespace internal {
    namespace {
    
    using ::tensorflow::quantization::PyFunctionLibrary;
    using ::tflite::optimize::ReducedPrecisionSupport;
    
    // Op def string for TFLite_Detection_PostProcess Op.
    constexpr mlir::StringRef kDetectionPostProcessOp =
        "name: 'TFLite_Detection_PostProcess' input_arg: { name: "
        "'raw_outputs/box_encodings' type: DT_FLOAT } input_arg: { name: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

    using ::tsl::protobuf::TextFormat;
    
    // Default version number for native serialization.
    constexpr int64_t kDefaultVersion = 9;
    // Default platform for XlaCallModuleOp.
    constexpr StringRef kPlatformCpu = "CPU";
    // Name of `tf.XlaCallModule`'s dictionary attribute for keeping the
    // deserialized stablehlo module's attributes.
    constexpr StringRef kStablehloModuleAttrsAttrName = "_stablehlo_module_attrs";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

    using mlir::SymbolTable;
    using mlir::Value;
    using mlir::func::FuncOp;
    using tsl::StatusOr;
    
    namespace {
    
    constexpr char kDeviceAttr[] = "tf.device";
    constexpr char kResourceArgUniqueIdAttr[] = "tf._resource_arg_unique_id";
    constexpr char kEntryFuncAttr[] = "tf.entry_function";
    constexpr char kAliasingAttr[] = "tf.aliasing_output";
    
    // OpOrArgLocNameMapper that legalizes the returned name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

        "optimization pass",
        /* metric field */ "status");
    
    // The status metric field is used to record success/failure of mlir
    // function/graph optimization passes.
    constexpr char kSuccess[] = "kSuccess";
    constexpr char kFailure[] = "kFailure";
    
    static inline absl::string_view StringRefToView(llvm::StringRef ref) {
      return {ref.data(), ref.size()};
    }
    
    // Dumps the MLIR module to disk.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top