- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 99 for StringRef (0.15 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
absl::Status status = absl::OkStatus(); module_op.walk([&py_function_library, &calibration_options, &status, &statistics_map](mlir::TF::CustomAggregatorOp aggregator_op) { mlir::StringRef id = aggregator_op.getId(); auto iter = statistics_map.find(id); if (iter == statistics_map.end()) { status = absl::InternalError( absl::StrFormat("Calibrated data does not exist. Cannot find "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h
mlir::ModuleOp module, bool export_to_mlir, toco::TocoFlags& toco_flags, const mlir::TFL::PassConfig& pass_config, const std::unordered_set<std::string>& saved_model_tags, llvm::StringRef saved_model_dir, SavedModelBundle* saved_model_bundle, std::string* result, bool serialize_stablehlo_ops = false, const quantization::PyFunctionLibrary* quantization_py_function_lib = nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 08:30:24 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.h
p << '}'; } } void GetExecuteOpAttrsCommon( mlir::MLIRContext *context, llvm::ArrayRef<mlir::Attribute> op_attr_array, llvm::SmallVectorImpl<std::pair<llvm::StringRef, mlir::Attribute>> *op_attrs); struct ParseExecuteOpOptions { bool has_chain = false; bool has_key = false; bool has_device = false; bool has_func_attr = false; bool has_cost = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
if (failed(GetOp(region, &send_op))) return failure(); // No TPU embedding ops. if (!recv_op && !send_op) return success(); Location loc = recv_op ? recv_op.getLoc() : send_op.getLoc(); StringRef config = recv_op ? recv_op.getConfig() : send_op.getConfig(); // Create XlaRecvTPUEmbeddingDeduplicationData op. OpBuilder builder(region); auto output_ty =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/mlir/quantization/common/ir/QuantOps.h" #include <numeric> #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/MathExtras.h" #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h" #include <numeric> #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/MathExtras.h" #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h
#define TENSORFLOW_COMPILER_MLIR_LITE_STABLEHLO_TRANSFORMS_LEGALIZE_HLO_CONVERSIONS_REDUCE_H_ #include <cstdint> #include <optional> #include "llvm/ADT/APInt.h" #include "llvm/ADT/StringRef.h" #include "mlir/Dialect/Arith/IR/Arith.h" // from @llvm-project #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/BuiltinTypeInterfaces.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc
// than function name. std::unique_ptr<OpQuantSpec> GetTFOpQuantSpec(Operation* op) { auto spec = std::make_unique<OpQuantSpec>(); if (auto call_op = dyn_cast<TF::PartitionedCallOp>(op)) { StringRef function_name = mlir::cast<FlatSymbolRefAttr>(call_op.getFAttr()).getValue(); if (!function_name.starts_with("composite_")) { return spec; } if (function_name.contains("depthwise_conv2d")) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc
absl::StatusOr<tensorflow::XlaCompilationResult> LegalizeMlirToHlo( const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation, const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args, llvm::StringRef device_type, std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes, XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns, const std::vector<tensorflow::TensorShape>& arg_shapes,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 00:40:46 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
} TFL::ConstBytesAttr CustomOption(OpBuilder* builder, const std::string& content) { return TFL::ConstBytesAttr::get(builder->getContext(), StringRef(content.data(), content.size())); } LogicalResult BuildOption(flexbuffers::Builder* fbb, Operation* op, NamedAttribute pair) { const char* key = pair.getName().data();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0)