def get_all_schemas(): return C.get_all_schemas()
def get_function_ops(): # type: () -> List[OpSchema] schemas = C.get_all_schemas() return [ schema for schema in schemas if schema.has_function or schema.has_context_dependent_function ] # type: ignore