- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetNumInputs (1.75 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
} auto func_type = func.getFunctionType(); if (func_type.getNumInputs() != 2) { return op.emitOpError() << "expects reduction function to take 2 parameters, but " "has " << func_type.getNumInputs() << " parameter(s)"; } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
FunctionType func_type = func.getFunctionType(); bool needs_refinement = false; SmallVector<Type, 4> new_arg_types; new_arg_types.reserve(func_type.getNumInputs()); // Update argument types in-place using the provided arg_shapes. for (size_t i = 0; i < func_type.getNumInputs(); ++i) { ArrayRef<int64_t> shape = arg_shapes[i]; Type element_type; if (auto input_ty =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (!func) { return emitError("'f' attribute refers to an undefined function: ") << func_name; } FunctionType func_ty = func.getFunctionType(); int func_arg_count = func_ty.getNumInputs(); int arg_count = getArgs().size(); if (arg_count != func_arg_count) { return emitError() << "argument count mismatch: 'args' has " << arg_count
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)