Type Checking#

check_shape_consistency(shapes[, free_axes, ...])

check_shape_broadcastable(shapes[, ...])

Check whether the given shapes are broadcastable.

check_shape_except_batch(shape1, shape2[, ...])

Check whether two shapes are compatible except the batch size axis.

check_shape(all_shapes[, free_axes])

check_dict_data(a_dict, key_type, val_type)

Check the dictionary data.

check_callable(fun[, name, allow_none])

check_initializer(initializer[, name, ...])

Check the initializer.

check_connector(connector[, name, allow_none])

Check the connector.

check_float(value[, name, min_bound, ...])

Check float type.

check_integer(value[, name, min_bound, ...])

Check integer type.

check_string(value[, name, candidates, ...])

Check string type.

check_sequence(value[, name, elem_type, ...])

serialize_kwargs(shared_kwargs)

Serialize kwargs.