- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 75 for output_types (0.18 sec)
-
tensorflow/compiler/jit/compilability_check_util.h
bool OpProducesOrConsumesVariant(const Node& node) const { auto is_variant = [](DataType dtype) { return dtype == DT_VARIANT; }; return absl::c_any_of(node.input_types(), is_variant) || absl::c_any_of(node.output_types(), is_variant); } bool HasXLAKernel(const Node& node, string* uncompilable_reason = nullptr) const; static void MaybeMarkUncompilableNode( const absl::string_view reason,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td
// to the region block's return. bool RegionWrapsSingleOp(unsigned index); }]; let builders = [ OpBuilder<(ins "int":$num_regions, "TypeRange":$output_types)>, ]; let hasVerifier = 1; } def TfDevice_ReplicateOp : TfDevice_Op<"replicate", [SingleBlockImplicitTerminator<"ReturnOp">, AttrSizedOperandSegments]> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
std::vector<Type> input_types = GetValueTypes(inputs); std::vector<Type> output_types = GetValueTypes(outputs); builder.setInsertionPointToEnd(&module.getBodyRegion().back()); func::FuncOp func_op = builder.create<func::FuncOp>( module.getLoc(), name, builder.getFunctionType(input_types, output_types)); func_op.setPrivate(); return func_op; }
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/tf2xla/internal/passes/tpu_cluster_formation.cc
mlir::ArrayAttr dims = first_op.getPartitionDimsAttr(); StringAttr sharding = first_op.get_XlaShardingAttr(); Operation::result_type_range output_types = first_op.getResultTypes(); result_op = builder.create<mlir::TF::TPUPartitionedOutputV2Op>( replicate_op.getLoc(), output_types, cluster.getResult(result_id), dims, sharding); results.insert(results.end(), result_op->getResults().begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
const auto& arg = graph_op_def.output_arg(i); const auto& api_def_arg(api_def.out_arg(i)); CHECK_EQ(arg.name(), api_def_arg.name()); bool is_list = ArgIsList(arg); output_types.push_back( strings::StrCat("::tensorflow::", is_list ? "OutputList" : "Output")); output_names.push_back(AvoidCPPKeywords(api_def_arg.rename_to())); is_list_output.push_back(is_list); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir
"tf.Yield"(%1) : (tensor<5xf32>) -> () }) {device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0", metadata = "", operandSegmentSizes = array<i32: 1, 2, 1>, output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]} : (tensor<4xf32>, tensor<3xf32>, tensor<!tf_type.resource>, tensor<2xf32>) -> tensor<!tf_type.variant> return } // ----- func.func @init(%arg0: tensor<4xf32>) -> tensor<7xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 02 11:15:34 UTC 2024 - 44.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
auto output = op->getResult(0); auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(output.getType()); if (!output_type) return failure(); // bias should be a vector sized of the last output dim. int64_t num_units = output_type.getDimSize(output_type.getRank() - 1); auto bias_type = mlir::RankedTensorType::get({num_units}, output_type.getElementType()); mlir::DenseElementsAttr bias_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library.mlir
{"quantized_ops": ["${main_op}", "BiasAdd", "Relu"], "act_func": "internal_dequantize_and_relu_fn", "output_type": "f32"}, {"quantized_ops": ["${main_op}", "BiasAdd", "Relu6"], "act_func": "internal_dequantize_and_relu6_fn", "output_type": "f32"}, ] func.func @GenerateQuantizedFunctionName(${quantized_ops}, "${output_type}")(%input : tensor<*xi8>, %filter : tensor<*xi8>, %bias : tensor<*xi32>,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 08 01:16:10 UTC 2024 - 30.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
op->getLoc(), *output_type, op.getInput()); rewriter.replaceOpWithNewOp<mhlo::BitcastConvertOp>( op, output_type->clone( mlir::dyn_cast<quant::QuantizedType>(output_type->getElementType()) .getStorageType()), result); return success(); } }; // UniformDequantizeOp takes TF quantized types as input which would have been
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_uniform_quantized.mlir
func.return %act : tensor<*x${output_type}> } parameters[ {"quantized_ops": ["${main_op}"], "act_func": "internal_requantize_no_activation_fn", "output_type": "!tf_type.qint8"}, {"quantized_ops": ["${main_op}", "Relu"], "act_func": "internal_requantize_and_relu_fn", "output_type": "!tf_type.qint8"},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 29 01:13:58 UTC 2023 - 19.3K bytes - Viewed (0)