def forward(self, antares_ir, inputs):
    antares_expr = generate_antares_expression(antares_ir, inputs)
    expr_hash = hashlib.sha256(antares_expr.encode()).hexdigest()
    if (expr_hash in self.ops):
        attributes = self.ops[expr_hash]
    else:
        attributes = fetch_and_compile_antares_kernel(antares_expr, expr_hash, self.server_addr)
        self.ops[expr_hash] = attributes
    outputs = antares_custom_op.forward(inputs, *attributes)
    return outputs
def forward(self, antares_ir, inputs):
    antares_expr = generate_antares_expression(antares_ir, inputs)
    expr_hash = hashlib.sha256(antares_expr.encode()).hexdigest()
    if (expr_hash in self.ops):
        attributes = self.ops[expr_hash]
    else:
        attributes = fetch_and_compile_antares_kernel(antares_expr, expr_hash, self.server_addr)
        self.ops[expr_hash] = attributes
    outputs = antares_custom_op.forward(inputs, *attributes)
    return outputs