- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 191 for output_types (0.71 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
void ParallelExecuteOp::build(OpBuilder& builder, OperationState& state, int num_regions, TypeRange output_types) { DCHECK_GE(num_regions, 1); for (int i = 0; i < num_regions; ++i) { Region* region = state.addRegion(); region->push_back(new Block); } state.addTypes(output_types); } Block& ParallelExecuteOp::GetRegionBlockWithIndex(unsigned index) {
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/tests/breakup-islands.mlir
next_func.experimental_ints_on_device = true, operandSegmentSizes = array<i32: 2, 2, 1>, output_shapes = [#tf_type.shape<?>], output_types = [f32], metadata = "" } : (tensor<!tf_type.string>, tensor<*x!tf_type.string>, tensor<!tf_type.string>, tensor<*xi64>, tensor<!tf_type.string>) -> tensor<*x!tf_type.variant>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc
} auto anonymous_iterator = builder.create<AnonymousIteratorV3Op>( reduce_dataset.getLoc(), RankedTensorType::get({}, builder.getType<ResourceType>()), /*output_types=*/builder.getArrayAttr(type_attrs), /*shape_types=*/builder.getArrayAttr(shape_attrs)); builder.create<MakeIteratorOp>(reduce_dataset.getLoc(), reduce_dataset.getInputDataset(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir
// expected-remark@above {{ID: 0}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 129.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 17:24:10 UTC 2024 - 167.4K bytes - Viewed (0) -
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)