- Sort Score
- Result 10 results
- Languages All
Results 71 - 74 of 74 for getStringAttr (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
assert(while_wrapper && "While op is expected to be wrapped in a IslandOp"); // Get the dummy constant. OpBuilder builder(while_wrapper); auto loc = NameLoc::get( builder.getStringAttr("chain_control_outputs@" + while_op.getBody())); IslandOp const_wrapper = GetDummyConstant(builder, const_type, loc); // Get new operand and result types.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
int index = *branch.getValues<int>().begin(); if (index < 0 || index >= op.num_branches()) index = op.num_branches() - 1; auto func = mlir::cast<SymbolRefAttr>(op.getBranches()[index]); auto empty = rewriter.getStringAttr(""); ReplaceTfOpWithNewOp<PartitionedCallOp>( rewriter, op, op.getResultTypes(), op.getOperands().drop_front(), func, /*config=*/empty, /*config_proto=*/empty, /*executor_type=*/empty); return success();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
ArrayAttr layout; // filled in during the xla-adjust-layout pass auto data_and_token = rewriter.create<InfeedOp>(op.getLoc(), result_types, token, /*infeed_config=*/rewriter.getStringAttr(""), /*layout=*/layout); result_types.pop_back(); // remove the token type. if (op.get_XlaSharding().has_value()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
auto new_concat = builder.create<TFL::ConcatenationOp>( getLoc(), getType(), non_empty_values, builder.getIntegerAttr(builder.getIntegerType(32), getAxis()), builder.getStringAttr(getFusedActivationFunction())); return new_concat.getResult(); } //===----------------------------------------------------------------------===// // CustomOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)