- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 134 for constexpr (0.34 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
/*dynamic_key=*/dynamic_key, op.getRecvKeyAttr(), /*device_ordinal=*/rewriter.getI64IntegerAttr(0), rewriter.getStringAttr("TPU")); } constexpr int64_t kDefaultCostEstimate = 1000000; rewriter.replaceOpWithNewOp<TF::XlaHostComputeOp>( op, op.getResultTypes(), op.getInputs(), /*ancestors=*/rewriter.getArrayAttr({}),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
"stage", }, // Scale of 10, power of 1.8 with bucket count 37 (~258 minutes). monitoring::Buckets::Exponential(10, 1.8, 37)); constexpr char kLoadAttemptFail[] = "fail"; constexpr char kLoadAttemptSuccess[] = "success"; // `tensorflow::LoadSavedModel` API label. constexpr char kCCLoadLabel[] = "cc_load"; uint64 GetLatencyMicroseconds(const uint64 start_microseconds) { const uint64 end_microseconds = EnvTime::NowMicros();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h.inc" static constexpr char kEmbeddingPipelining[] = "_embedding_pipelining"; static constexpr char kEmbeddingForward[] = "forward"; static constexpr char kEmbeddingBackward[] = "backward"; static constexpr char kDevice[] = "device"; static constexpr llvm::StringRef kTpuCompilationStatus = "_tpu_compilation_status"; namespace mlir {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #define DEBUG_TYPE "tf-resource-device-inference" namespace mlir { namespace TF { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kFuncDeviceAttr[] = "tf.device"; #define GEN_PASS_DEF_RESOURCEDEVICEINFERENCEPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc
using ::mlir::tf_saved_model::kTfSavedModelInitializerTypeAttr; using ::mlir::tf_saved_model::SessionInitializerOp; constexpr absl::string_view kDefaultConstName = "const"; // The default lower threshold for the constant size for unfreezing. constexpr int64_t kDefaultConstantSizeThresholdInBytes = 64 * 1024; // 64KiB // This pass "unfreezes" constants found in the moudle and converts them to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 16 15:04:53 UTC 2023 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
// We therefore check exemplary 3 axes {rhs_, input_, }quantization_axis from // previous accumulations. constexpr std::array<absl::string_view, 3> kQuantizationAxisAttrs = { "input_quantization_axis", "quantization_axis", "rhs_quantization_axis"}; // Common suffixes for attributes used in FillQuantizationAttributes. constexpr std::array<absl::string_view, 2> kSuffixes = {"_min_val", "_max_val"}; Attribute GetWindowStridesValue(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/README.md
If you want to add a hardware backend for TAC, you can start with the `SimpleHardware` interface. For example: ``` class FooHardware : public SimpleHardware { public: static constexpr char kId[] = "FOO"; mlir::RewritePatternSet GetTransformations( MLIRContext* context) const override { mlir::RewritePatternSet patterns; // Pick the transformations that we want to perform,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
#include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" #define DEBUG_TYPE "tf-tpu-merge-variables-with-execute" namespace mlir { namespace TFTPU { namespace { constexpr char kAliasingAttr[] = "tf.aliasing_output"; constexpr char kDeviceAttr[] = "device"; constexpr char kFuncDeviceAttr[] = "tf.device"; #define GEN_PASS_DEF_TPUMERGEVARIABLESWITHEXECUTEPASS
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
#include "xla/mlir_hlo/utils/hlo_utils.h" #include "xla/xla_data.pb.h" namespace mlir { namespace mhlo { namespace { constexpr absl::string_view kGroupSizeAttrName = "tf2xla.collective_info.group_size"; constexpr absl::string_view kGroupKeyAttrName = "tf2xla.collective_info.group_key"; #define GEN_PASS_DEF_LEGALIZETFCOLLECTIVE
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.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: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0)