- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 300 for pushBack (1.48 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc
for (const auto& item : value.list().i()) attrs.push_back(builder->getI64IntegerAttr(item)); for (const auto& item : value.list().s()) attrs.push_back(builder->getStringAttr(item)); for (const auto& item : value.list().f()) attrs.push_back(builder->getFloatAttr(builder->getF32Type(), item)); for (const auto& item : value.list().b()) attrs.push_back(builder->getBoolAttr(item));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
} } attrs.push_back(rewriter.getNamedAttr("lhs_quantization_axis", activation_quantization_axis)); attrs.push_back(rewriter.getNamedAttr("rhs_quantization_axis", activation_quantization_axis)); attrs.push_back(rewriter.getNamedAttr("output_quantization_axis",
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/tensorflow/translate/mlir_roundtrip_flags.cc
// Treats empty input shape as scalar if (dim_str.empty()) continue; if (dim_str == "?") { dims.push_back(-1); continue; } int size; TF_RET_CHECK(absl::SimpleAtoi(dim_str, &size)); dims.push_back(size); } return dims; } static Status HandleSubtype(absl::string_view subtype, ArrayInfo::SubTypeInfo* result) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc
llvm::SmallVector<mlir::Type, 4> operand_types; if (options.has_chain) operand_types.push_back(chain_type); if (parser.resolveOperands(in_chains, operand_types, loc, result.operands) || parser.resolveOperands(operands, tensor_type, result.operands)) return mlir::failure(); if (options.has_chain) result.types.push_back(chain_type); result.types.append(num_results, tensor_type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
if (matchPattern(permutation1, m_Constant(&perm1_const))) { for (int32_t idx = 0; idx < perm1_const.getNumElements(); ++idx) { initial_permutation.push_back(idx); } for (auto perm : perm2_const.getValues<APInt>()) { new_permutation.push_back( initial_permutation[perm1_const .getValues<APInt>()[perm.getSExtValue()] .getSExtValue()]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
(*arguments_to_erase)[call].push_back(argument_index); if (auto func = dyn_cast<func::FuncOp>(call.resolveCallable())) { (*arguments_to_erase)[func].push_back(argument_index); work_list->push_back(std::make_pair(&func.getRegion(), argument_index)); } } else if (auto if_op = dyn_cast<TF::IfOp>(user_op)) { (*arguments_to_erase)[if_op].push_back(argument_index);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
lhs_shape.push_back(b); out_shape->push_back(b); lhs_reshape_segids.at(std::get<0>(i)) = num_lhs_reshape_segids++; } } else { const int64_t lhs_out_size = ProdShapeWithIndexInTuple<0>(lhs_type.getShape(), dnums.lhs_out); lhs_shape.push_back(lhs_out_size); out_shape->push_back(lhs_out_size); for (auto i : dnums.lhs_out) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
if (state.IsEmpty() && requantize.pos == RequantizeState::NO_REQUANTIZE) { input_specs.push_back(original_input_specs[i]); } else if (requantize.pos == RequantizeState::ON_OUTPUT) { input_specs.push_back(TypeAttr::get(requantize.params)); } else { input_specs.push_back(TypeAttr::get(state.params)); } } op->setAttr("input_specs", ArrayAttr::get(context, input_specs));
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/tfrt/saved_model/saved_model.cc
func.getArgAttrOfType<mlir::StringAttr>(i, "tf.device")) { input_devices.push_back(input_device.getValue()); } else { input_devices.push_back(""); } } if (auto* bound_input = mlir::tf_saved_model::LookupBoundInput(func, i, symbol_table)) { bound_inputs.push_back(bound_input); } } llvm::SmallVector<llvm::StringRef, 4> output_names;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 7.3K bytes - Viewed (0)