Esempio n. 1
0
def _tfr_tensor_two_output(x):
    z = array_ops.Split(axis=0, value=x, num_split=2)
    return z[0], z[1]
Esempio n. 2
0
def _tfr_tensor_tensor_list_split(x, y, pred):
    z, _ = array_ops.Split(axis=0, value=x, num_split=2)
    (y, pred)  # pylint: disable=pointless-statement
    return z