def generate_antares_expression(antares_ir, inputs):
    (input_dict, kwargs) = ({}, {})
    for i in range(len(inputs)):
        input_dict[('input%d' % i)] = {'dtype': str(inputs[i].dtype).split('.')[1], 'shape': list(inputs[i].shape)}
        kwargs[('input%d' % i)] = inputs[i]
    input_dict = json.dumps(input_dict)
    return ('- einstein_v2("%s", input_dict=%s)' % (antares_ir.replace('"', '\\"'), input_dict))
def generate_antares_expression(antares_ir, inputs):
    (input_dict, kwargs) = ({}, {})
    for i in range(len(inputs)):
        input_dict[('input%d' % i)] = {'dtype': str(inputs[i].dtype).split('.')[1], 'shape': list(inputs[i].shape)}
        kwargs[('input%d' % i)] = inputs[i]
    input_dict = json.dumps(input_dict)
    return ('- einstein_v2("%s", input_dict=%s)' % (antares_ir.replace('"', '\\"'), input_dict))