Esempio n. 1
0
def get_all_schemas():
    return C.get_all_schemas()
Esempio n. 2
0
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