- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for output_arg (0.3 sec)
-
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
op_name = name.qn[1] op_def, _ = self._op_defs.lookup(op_name) if len(op_def.output_arg) == 1: return {_get_type_from_proto(op_def.output_arg[0])}, None return ({tuple(_get_type_from_proto(arg) for arg in op_def.output_arg)}, None) elif f_type == (TFRTypes.PY_BUILTIN_FUNC,): assert name.is_simple() if name == QN('range'):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TestUnavailableErrorOp); string FunctionWithErrorOp(const tensorflow::StringPiece op_name) { const std::string& func_str = " signature {" " name: 'FunctionWith__OP_NAME__'" " output_arg {" " name: 'out'" " type: DT_STRING" " }" " }" " node_def {" " name: 'error_op'" " op: '__OP_NAME__'" " }"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
const OpDef& signature = fdef.signature(); ASSERT_EQ(outputs.size(), signature.output_arg_size()); for (int i = 0; i < outputs.size(); ++i) { const OpDef::ArgDef& arg = signature.output_arg(i); const IOSpec& out = outputs[i]; if (out.second != DT_INVALID) { ASSERT_EQ(arg.type(), out.second) << "Got unexpected type for output " << i
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
def tpu_subgraph(): return tf.tpu.rewrite(model_fn, args) return tf.raw_ops.TPUPartitionedCall( args=tpu_subgraph.captured_inputs, Tout=[o.type for o in tpu_subgraph.definition.signature.output_arg], f=tpu_subgraph, device_ordinal=[0]) static_shape = tf.placeholder(tf.int32, shape=([3]), name='static_size') w = tf.Variable(tf.constant([[1.0], [2.0], [3.0]]), name='w')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)