- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for funcargs (0.22 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
// itself as the current live value. auto func_args = function.getArguments().take_front( function.getNumArguments() - var_handle_shared_names.size()); for (BlockArgument& func_arg : func_args) { auto resource_type = mlir::dyn_cast<TF::ResourceType>( getElementTypeOrSelf(func_arg.getType())); if (!resource_type) continue; if (failed(ValidateResourceArgument(function, func_arg, resource_type))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
func::FuncOp float_func = dyn_cast<func::FuncOp>(symbol_table.lookup(function_name)); OperandRange func_args = op.getArgs(); func::FuncOp new_float_func = float_func.clone(); SmallVector<Value> new_float_func_args{func_args.begin(), func_args.end()}; new_float_func_args[weight_operand_idx] = reshape_op; new_float_func.getArgument(weight_operand_idx).setType(new_shape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0)