- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,825 for Auto (0.06 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/strip_saved_module_metadata.cc
}; bool ShouldStripAttr(NamedAttribute &namedAttr) { auto name = namedAttr.getName().strref(); return name.starts_with("tf_saved_model."); } void StripModule(Operation *module) { auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range( module->getAttrs(), [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); })); for (auto namedAttr : stripAttrs) { module->removeAttr(namedAttr.getName());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.cc
// Get resources from Session. auto resource_tensors_or = GetResourcesFromSession(var_ops, session); if (!resource_tensors_or.ok()) return function->emitError(resource_tensors_or.status().message().data()); MLIRContext* context = function.getContext(); for (auto var_and_tensor : llvm::zip(var_ops, resource_tensors_or.value())) { auto& var_op = std::get<0>(var_and_tensor); auto& resource_tensor = std::get<1>(var_and_tensor);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 19:14:56 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
if (auto repinput = dyn_cast<TF::TPUReplicatedInputOp>(op)) { if (!ValidateReplicatedInput(repinput, num_replicas, tpu_replicate_attr)) return false; } if (auto repoutput = dyn_cast<TF::TPUReplicatedOutputOp>(op)) { if (!ValidateReplicatedOutput(repoutput, num_replicas, tpu_replicate_attr)) return false; } if (auto partinput = dyn_cast<TF::TPUPartitionedInputOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
Value new_arg = arg; Location loc = func.getLoc(); if (arg.hasOneUse() && llvm::isa<QuantizeOp>(*arg.user_begin())) { auto quantize_op = llvm::cast<QuantizeOp>(*arg.user_begin()); auto quantize_output = quantize_op.getOutput(); auto current_type = quant::QuantizedType::getQuantizedElementType( quantize_output.getType()) .getStorageType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc
SmallVector<int64_t, 2> output_shape{1, 2}; auto input_type = RankedTensorType::get(input_shape, builder->getF32Type()); auto weight_type = RankedTensorType::get(weight_shape, builder->getF32Type()); auto bias_type = RankedTensorType::get(bias_shape, builder->getF32Type()); auto projection_type = RankedTensorType::get(projection_shape, builder->getF32Type()); auto layer_norm_scale_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
llvm::SmallVector<mlir::TF::IdentityOp, 8> erase_list; for (auto [cluster_result_id, cluster_result] : llvm::enumerate(cluster.getResults())) { auto [replicated_output, _] = GetSingleUserOfType<mlir::TF::TPUReplicatedOutputOp>(cluster_result); if (replicated_output) { for (OpResult per_replica_result : replicated_output->getResults()) { auto [partitioned_output, id_ops] =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AutoInstalledInstallationSupplierTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 23:01:05 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/converter_gen.cc
for (const auto *def : defs) { auto op_name = def->getValueAsString("opName"); int tail_optional_tensor = 0, tensor_number_max = 0; auto *arg_values = def->getValueAsDag("arguments"); for (int i = 0, e = arg_values->getNumArgs(); i < e; ++i) { auto arg = arg_values->getArg(i); auto *arg_def = dyn_cast<DefInit>(arg); if (!arg_def) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// resolved LogicalResult PrecheckForXlaConvV2Op(XlaConvV2Op op) { auto input_tensor = op.getLhs(); auto kernel_tensor = op.getRhs(); auto window_strides = op.getWindowStrides(); auto padding = op.getPadding(); auto lhs_dilation = op.getLhsDilation(); auto rhs_dilation = op.getRhsDilation(); auto feature_group_count = op.getFeatureGroupCount(); int64_t batch_group_count = op.getBatchGroupCount();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/sparsity/sparsify_model_test.cc
auto output_fbm = tflite::FlatBufferModel::BuildFromBuffer( reinterpret_cast<const char*>(output_builder.GetCurrentBufferPointer()), output_builder.GetSize()); tflite::ModelT output_model; output_fbm->GetModel()->UnPackTo(&output_model); // Extract output metadata std::map<std::string, std::string> output_metadata; for (const auto& metadata : output_model.metadata) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:16:40 UTC 2024 - 2.9K bytes - Viewed (0)