- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 605 for Auto (0.04 sec)
-
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
llvm::errs() << op.getLogicalKernel() << " : ("; for (auto i = 0; i < op.getNumOperands(); ++i) { if (auto params = GetOperandParams(op, i)) params.print(llvm::errs()); else llvm::errs() << "_"; llvm::errs() << ","; } llvm::errs() << ") -> ("; for (auto i = 0; i < op.getNumResults(); ++i) { if (auto params = GetResultParams(op, i)) params.print(llvm::errs());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
SmallVectorImpl<Type>* output_types) const { for (auto res : llvm::enumerate(signature.getResults())) { if (auto tensor_type = mlir::dyn_cast<TFRTensorType>(res.value())) { // tfr.tensor should only have one attribute attached. auto attr_key = tensor_type.getAttrKeys().front(); Builder builder(signature.getContext()); if (auto attr = attrs.lookup(attr_key.getValue())) { output_types->push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
bool metadata_updated = false; auto maybe_replicate = execute_launches.front()->getParentOfType<tf_device::ReplicateOp>(); for (auto execute_and_input_mapping : llvm::zip(execute_launches, input_mappings)) { auto& execute_launch = std::get<0>(execute_and_input_mapping); auto execute = llvm::cast<TF::TPUExecuteOp>(execute_launch.GetBody().front());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc
StringRef func_name = func.getName(); auto has_quantize_op = [&](const Value arg) { return (arg.hasOneUse() && llvm::isa<quantfork::QuantizeCastOp>(*arg.user_begin())); }; bool need_to_set_input_nodes_quantization_params = false; for (const BlockArgument arg : func.getArguments()) { auto shaped = mlir::dyn_cast<ShapedType>(arg.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
StringAttr::get(input_defining_op->getContext(), "auto")); outside_compiled_ops.push(input_defining_op); } } // Mark for outside compilation any operations that consume variant // outputs from an outside compiled operation. for (auto value : op->getResults()) { if (IsVariant(value)) { for (auto user : value.getUsers()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
XlaDeviceCompiler* CreateXlaDeviceCompiler(DeviceType device_type, xla::LocalClient* local_client) { auto persistor = std::make_unique<XlaDeviceExecutablePersistor>( XlaDeviceExecutablePersistor::Config(), device_type); auto compiler_client = std::make_unique<XlaDeviceCompilerClient>(local_client); return new XlaDeviceCompiler(std::move(persistor),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 29 01:41:20 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
LogicalResult ParallelExecuteOp::verify() { ParallelExecuteOp op = *this; const auto& regions = op.getOperation()->getRegions(); if (regions.empty()) { return op.emitOpError() << "must have at least one region."; } int output_index = 0; for (const auto& region_and_index : llvm::enumerate(regions)) { auto& region = region_and_index.value(); auto* region_terminator = region.front().getTerminator();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
AttrValue* value) { auto* list = value->mutable_list(); for (mlir::Attribute a : attr.getValue()) { if (auto attr = mlir::dyn_cast<mlir::BoolAttr>(a)) { list->add_b(attr.getValue()); } else if (auto attr = mlir::dyn_cast<mlir::IntegerAttr>(a)) { list->add_i(attr.getInt()); } else if (auto attr = mlir::dyn_cast<mlir::FloatAttr>(a)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc
llvm::SmallVector<Value, 8> unused_execute_controls; for (auto& execute : executes) if (execute.use_empty()) unused_execute_controls.push_back(execute.getControl()); if (!unused_execute_controls.empty()) { auto graph_op = island_op->getParentOfType<tf_executor::GraphOp>(); tf_executor::FetchOp fetch = graph_op.GetFetch(); auto fetches = llvm::to_vector<8>(fetch.getOperands());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 19:47:16 UTC 2023 - 11.1K bytes - Viewed (0)