- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 330 for constexpr (0.36 sec)
-
tensorflow/compiler/jit/device_compilation_profiler.cc
stats->is_megamorphic = true; } } // The number of times a lazy compilation must be requested for a specific // signature before we attempt to compile it. constexpr int64_t kDefaultCompilationThreshold = 2; // Maximum number of ongoing compilations. constexpr int64_t kMaxNumOngoingCompilations = kNumAsyncDeviceCompilerThreads; } // namespace DeviceCompilationProfiler::~DeviceCompilationProfiler() { mutex_lock lock(mu_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc
namespace mlir { namespace quant { namespace { // For types that have varying sizes or difficult to determine the size of, each // element is arbitrarily considered to be 4 bytes. constexpr int64_t kAssumedNumBytesPerElem = 4; int64_t GetSizeOfIntOrFloatConst(TF::ConstOp const_op) { const Type dtype = const_op.getDtype(); const ElementsAttr const_value = const_op.getValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark.h
struct Options { // kDefaultMicros specifies the default time to run the benchmark, and is used // if neither max_iters nor max_micros is set. static constexpr int64_t kDefaultMicros = 3000000; int64_t max_iters = 0; // Maximum iterations to run, ignored if <= 0. int64_t max_micros = 0; // Maximum microseconds to run, ignored if <= 0. };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 2.5K 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/tensorflow/utils/verify_suitable_for_graph_export.cc
#include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/Visitors.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h" namespace tensorflow { namespace { constexpr char kInvalidExecutorGraphMsg[] = "functions must be of a single Graph with single op Islands: "; } // namespace mlir::LogicalResult VerifyExportSuitable(mlir::ModuleOp module) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 2.4K 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/tfr/integration/graph_decompose_pass.cc
TF_RETURN_IF_ERROR(DecomposeGraph(module)); LOG_FIRST_N(INFO, 1) << "Finish Graph Decomposition Passes"; return absl::OkStatus(); } namespace { constexpr int kMlirGraphDecomposePassPriority = -1; static mlir_pass_registration::MlirOptimizationPassRegistration register_mlir_graph_decompose_pass(kMlirGraphDecomposePassPriority,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Feb 25 16:22:36 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/device_attribute_to_launch.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/device_util.h" #include "tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h" namespace mlir { namespace TFDevice { namespace { constexpr char kDeviceAttr[] = "device"; #define GEN_PASS_DEF_DEVICEATTRIBUTETOLAUNCHPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc" struct DeviceAttributeToLaunch
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 00:59:46 UTC 2022 - 2.7K 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)