- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 330 for constexpr (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.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"; // Converts `called_func` attributes in custom call ops back to `called_index`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc
StrEq("quantized_my_function")); EXPECT_TRUE(first_result.method().has_no_quantization()); } TEST_F(QuantizationReportTest, InitializeWithModuleOp) { constexpr absl::string_view kQuantizedDotGeneral = R"mlir( func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.h
MLIRContext *context = (*op)->template getParentOfType<ModuleOp>().getContext(); // We only support NHWC <-> NCHW permutations. static constexpr std::array<int64_t, 4> kNchwToNhwc = {0, 2, 3, 1}; static constexpr std::array<int64_t, 4> kNhwcToNchw = {0, 3, 1, 2}; // Operation data format after folding `permutation`. StringRef target_data_format = [&]() -> StringRef {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/aot/aot_only_var_handle_op.h
#ifndef TENSORFLOW_COMPILER_AOT_AOT_ONLY_VAR_HANDLE_OP_H_ #define TENSORFLOW_COMPILER_AOT_AOT_ONLY_VAR_HANDLE_OP_H_ namespace tensorflow { namespace tfcompile { static constexpr const char* const kXlaAotOnlyVarHandleOp = "_XlaAotOnlyVarHandleOp"; } // namespace tfcompile } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 16 22:26:12 UTC 2020 - 1K bytes - Viewed (0) -
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) -
tensorflow/compiler/aot/benchmark.cc
const size_t count_us = sorted_us.size(); double sum_us = 0; size_t count_us_trimmed = 0; double sum_us_trimmed = 0; size_t count_us_best = 0; double sum_us_best = 0; static constexpr float trim_ratio = 0.25; static constexpr float best_ratio = 0.1; const size_t count_trimmed = count_us * trim_ratio; const size_t count_best = count_us * best_ratio; for (size_t i = 0; i < sorted_us.size(); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 19:45:29 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/graph_optimization_pass_registration.cc
==============================================================================*/ #include <memory> #include "tensorflow/compiler/mlir/tensorflow/transforms/graph_optimization_pass.h" namespace tensorflow { namespace { constexpr int kMlirGraphOptimizationPriority = 0; } static mlir_pass_registration::MlirOptimizationPassRegistration register_mlir_graph_optimization_pass( kMlirGraphOptimizationPriority,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 18 01:02:11 UTC 2020 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
namespace mlir { namespace TFTPU { constexpr char kStepMarkerLocationAttr[] = "step_marker_location"; constexpr char kDevicesAttr[] = "devices"; constexpr char kVersionsAttr[] = "tf.versions"; constexpr char kUseXlaSpmdAttr[] = "use_spmd_for_xla_partitioning"; constexpr char kBadStringArrayElementMsg[] = "bad '{0}' attribute at index {1}, not a string"; constexpr char kBadArrayElementMsg[] =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.h
namespace TFL { namespace tac { // Gpu hardware class which handles GPU capabilities in TFLite. // This is used by TAC to get op supported/ op cost estimates on GPU. class GpuHardware : public TargetHardware { public: static constexpr char kId[] = "GPU"; mlir::RewritePatternSet GetTransformations( MLIRContext* context) const override; mlir::TypeID GetTypeId() const override { return mlir::TypeID::get<GpuHardware>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 27 15:05:02 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
// remove the attribute and skip further processing on those ops. constexpr char kNoFallbackAttr[] = "no_fallback"; // TF Quantization modes. These constants are defined as char arrays so they // can parsed by the pass option. constexpr char kDefaultMode[] = "DEFAULT"; constexpr char kLegacyIntegerMode[] = "LEGACY_INTEGER"; // Checks if the operation is TF FakeQuant ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0)