- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 330 for constexpr (0.15 sec)
-
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
constexpr float kMinSparsityLevel = 0.3; // Heuristic to check if a block configuration is correct for float constants. constexpr float kBlockOverRandomSparsityRatio = 0.9; // After quantization, some non-zero values are set to 0. // Lower the ratio for identifying block configuration for quantized constants. constexpr float kBlockOverRandomSparsityRatioQuant = 0.8;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc
namespace v1 { namespace { using ::mlir::DialectRegistry; using ::mlir::MLIRContext; using ::mlir::ModuleOp; using ::mlir::OwningOpRef; using ::tensorflow::monitoring::testing::CellReader; static constexpr char kCompilationStreamz[] = "/tensorflow/core/tf_mlir_bridge_first_phase_v2_count"; std::string TestDataPath() { return tensorflow::GetDataDependencyFilepath(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:44:37 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc
namespace { using mlir::ModuleOp; using mlir::DialectRegistry; using mlir::MLIRContext; using mlir::ModuleOp; using mlir::OwningOpRef; using tensorflow::monitoring::testing::CellReader; static constexpr char kCompilationStreamz[] = "/tensorflow/core/tf2xla/api/v1/tf_dialect_to_executor_dialect_status"; std::string TestDataPath() { return tensorflow::GetDataDependencyFilepath(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" namespace mlir { namespace quant { namespace { constexpr StringRef kDequantizeFunctionName = "composite_dequantize"; constexpr StringRef kUniformQuantizationFunctionName = "uniform"; // Pre-actions before adding quantization logics. It creates a function with the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.h
// `TF::XlaCallModuleOp`s. They are quantized using the weight constants, not // relying on calibration. class WeightOnlyPtqComponent : public Component { public: // Used for debugging purposes. static constexpr absl::string_view kName = "quant_ptq_weight_only"; explicit WeightOnlyPtqComponent(absl::Nonnull<MLIRContext*> ctx); absl::StatusOr<ModuleOp> Run( ModuleOp module_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 12:18:22 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h
// Name of the running pass. std::string pass_name_; // Pointer to the global ErrorCollector instance. ErrorCollector *error_collector_; }; // Prefix when adding error code as a note in Diagnostic. constexpr char kErrorCodePrefix[] = "Error code: "; // Adds error code to a newly created InFlightDiagnostic. inline InFlightDiagnostic AttachErrorCode(InFlightDiagnostic &&diag,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass.cc
#include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" namespace mlir { namespace TFDevice { namespace { constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation"; #define GEN_PASS_DEF_VERIFYNOOUTSIDECOMPILATIONMARKERSPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 22 19:52:08 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" namespace mlir { namespace TFDevice { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kMiniBatchSplitsAttr[] = "mini_batch_splits"; constexpr char kMiniBatchCsrAttr[] = "mini_batch_in_csr"; #define GEN_PASS_DEF_EMBEDDINGPROGRAMKEYPASS
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" namespace mlir { namespace TF { namespace { constexpr char kResourceFunctionMsg[] = "expects function level resource argument"; constexpr char kInvalidResourceMsg[] = "expects resource to be a VarHandleOp or function argument"; constexpr char kResourceNameArgAttr[] = "tf.resource_name"; // Checks if a function has only one block.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h" #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" namespace mlir { namespace TF { namespace { constexpr const char *kDeviceAttr = "device"; #define GEN_PASS_DEF_CONSTANTOPDEVICEASSIGNMENTPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" struct ConstantOpDeviceAssignmentPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 3.3K bytes - Viewed (0)