def __check_input(x, y):
    var_names = {'x': x, 'y': y}
    for (name, val) in var_names.items():
        check_variable_and_dtype(val, name, ['float16', 'float32', 'float64', 'complex64', 'complex128'], 'matmul')
def __check_input(x, y):
    var_names = {'x': x, 'y': y}
    for (name, val) in var_names.items():
        check_variable_and_dtype(val, name, ['float16', 'float32', 'float64', 'complex64', 'complex128'], 'matmul')