Op("rank") {
        javaPackage = "org.nd4j.linalg.api.ops.impl.shape"
        Input(NDARRAY, "in") { description = "Input variable" }
        Output(NUMERIC, "output"){ description = "(scalar) output variable with value equal to the rank of the input variable" }
        Doc(Language.ANY, DocScope.ALL){