- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 148 for constexpr (0.13 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
using mlir::RankedTensorType; using mlir::StringAttr; using mlir::Value; using mlir::WalkResult; constexpr char kReplicateSharding[] = ""; constexpr char kShardingAttr[] = "mhlo.sharding"; constexpr char kUseSpmdAttr[] = "use_spmd_for_xla_partitioning"; constexpr char kAliasingAttr[] = "tf.aliasing_output"; constexpr char kNumCoresPerReplicaAttr[] = "num_cores_per_replica"; #define GEN_PASS_DEF_TPUSHARDINGIDENTIFICATIONPASS
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.h
// in the input module op. class PostCalibrationComponent : public Component { public: // Name of the post-training quantization post-calibration step. Used for // debugging purposes. static constexpr absl::string_view kName = "quant_ptq_post_calibration"; explicit PostCalibrationComponent(absl::Nonnull<MLIRContext*> ctx); absl::StatusOr<ModuleOp> Run( ModuleOp module_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
using ::tensorflow::Session; using ::tensorflow::Status; using ::tensorflow::StatusOr; using ::tensorflow::Tensor; using ::tensorflow::Var; namespace { constexpr char kResourceNameArgAttr[] = "tf.resource_name"; constexpr char kSavedModelArgAttr[] = "tf_saved_model.bound_input"; LogicalResult LiftVariablesFromSession( ModuleOp module, Session* session, const SmallSet<StringRef, 4>& resource_names) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.h
#include "tensorflow/core/public/session.h" namespace tensorflow { namespace quantization { // Default MLIR dump file prefix for TensorFlow quantization passes. inline constexpr absl::string_view kDefaultTfQuantMlirDumpFilePrefix = "tf_quant"; // Preprocesses the `module_op` for quantization. The preprocess steps include // freezing the variables in the graph into constants. `is_inliner_run`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
using ::tensorflow::quantization::OpSet; constexpr absl::string_view kQuantizeCompositeFunctionsStepName = "_quantize_composite_functions"; constexpr StringRef kQuantizeFuncName = "quantize_i8"; constexpr StringRef kDequantizeFuncName = "dequantize_i8"; constexpr StringRef kAttrMapAttribute = "attr_map"; constexpr StringRef kQuantizedOpsAttribute = "tf_quant.quantized_ops"; constexpr StringRef kCompositeFuncPrefix = "composite_";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
inline constexpr char kDebugModeOpQuantAttrName[] = "debug_quant"; // Used to annotate custom ops if they are quantizable. inline constexpr char kQuantTraitAttrName[] = "_tfl_quant_trait"; enum QuantizationTrait { FullyQuantizable = 0, NotQuantizable = 1 }; inline constexpr absl::string_view QuantTraitValues[] = {"fully_quantizable", "not_quantizable"}; inline constexpr double kNearZeroTolerance = 1.0e-6;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.h
// The Control type is a token-like value that models control dependencies class ControlType : public Type::TypeBase<ControlType, Type, TypeStorage> { public: using Base::Base; static constexpr StringLiteral name = "tfl.control"; }; #include "tensorflow/compiler/mlir/lite/ir/tfl_ops_interface.h.inc" } // end namespace TFL } // end namespace mlir #define GET_OP_CLASSES
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 2.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/utils/string_utils.h
#define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_STRING_UTILS_H_ #include <stdint.h> #include <cstddef> #include <limits> #include <vector> #include "absl/status/status.h" namespace mlir::TFL { constexpr uint64_t kDefaultMaxLength = std::numeric_limits<int>::max(); class MiniDynamicBuffer { public: explicit MiniDynamicBuffer(size_t max_length = kDefaultMaxLength) : offset_({0}), max_length_(max_length) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.2K bytes - Viewed (0)