- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 330 for setLoc (0.14 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize.cc
} } else { bias = rewriter .create<AddOp>(add_op.getLoc(), bias, constant_val, rewriter.getStringAttr("NONE")) .getOutput(); } auto fc = rewriter.create<TFL::FullyConnectedOp>( FusedLoc::get(fc_op.getContext(), {fc_op.getLoc(), add_op.getLoc()}), add_op.getType(), /*input=*/fc_op.getInput(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
} operand = rewriter.create<mhlo::BitcastConvertOp>(op->getLoc(), *output_type, operand); Value res_min_clipped = rewriter.create<chlo::BroadcastMaxOp>( op->getLoc(), *output_type, operand, *min_or, broadcast_dims); Value res_max_clipped = rewriter.create<chlo::BroadcastMinOp>( op->getLoc(), *output_type, res_min_clipped, *max_or, broadcast_dims);
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/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/lite/transforms/prepare_tf.cc
rewriter.create<arith::ConstantOp>(op->getLoc(), type, begin_attr); auto end_attr = DenseElementsAttr::get<int32_t>(type, padded_end); auto end_op = rewriter.create<arith::ConstantOp>(op->getLoc(), type, end_attr); auto stride_attr = DenseElementsAttr::get<int32_t>(type, padded_stride); auto stride_op = rewriter.create<arith::ConstantOp>(op->getLoc(), type, stride_attr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
OpBuilder builder(func.getBody()); std::string empty_option_buffer; auto op = builder.create<CustomOp>( func.getLoc(), func.getFunctionType().getResults(), func.getArguments(), api, CustomOption(&builder, empty_option_buffer)); builder.create<func::ReturnOp>(func.getLoc(), op.getResults()); return success(); } LogicalResult VerifyNgrams(func::FuncOp func) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
assert(caller_region.empty() && "Expected empty region for newly created ops"); OpBuilder builder(caller_region); Block* entry = builder.createBlock(&caller_region); auto loc = op->getLoc(); if (use_region_args) { auto inputs = func.getFunctionType().getInputs(); entry->addArguments(inputs, SmallVector<Location>(inputs.size(), loc)); args = entry->getArguments(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc
scf_yield_input.push_back(rewriter.create<CastOp>( current_terminator->getLoc(), std::get<0>(it), std::get<1>(it))); } rewriter.replaceOpWithNewOp<scf::YieldOp>(current_terminator, scf_yield_input); }; Location loc = op.getLoc(); // The condition of an `scf.if` op is a 1-bit signless integer. Whereas, the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
auto reshape_sizes = DenseIntElementsAttr::get(reshape_type, new_shape); auto reshape_value = builder->create<TF::ConstOp>(input.getLoc(), reshape_sizes); return builder->create<TF::ReshapeOp>(input.getLoc(), reshape_result_type, input, reshape_value); } // Creates transpose op for shape to depth transform.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
if (IsCompatibleTypeWithTFLCastOp(value.getType()) && IsCompatibleTypeWithTFLCastOp(type)) { auto cast = b.create<CastOp>(yield_op->getLoc(), type, value); args.push_back(cast); } else { auto cast = b.create<TF::CastOp>(yield_op->getLoc(), type, value); args.push_back(cast); } } } args.append(new_args.begin(), new_args.end()); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 16 15:04:53 UTC 2023 - 14K bytes - Viewed (0)