#!/usr/bin/env python3

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import tensorflow as tf
from tensorflow.contrib import antares

from _common import *

x = create_variable([1024, 64])
y = create_variable([1024, 64])

compare_ops(
  tf.add(x, y),
  antares.make_op('output0[N, M] = input0[N, M] + input1[N, M]', [x, y]),
)


#!/usr/bin/env python3

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

import tensorflow as tf
from tensorflow.contrib import antares

from _common import *

x = create_variable([1024, 64])
y = create_variable([1024, 64])

compare_ops(
  tf.add(x, y),
  antares.make_op('output0[N, M] = input0[N, M] + input1[N, M]', [x, y]),
)


#!/usr/bin/env python3 # Copyright (c) Microsoft Corporation. # Licensed under the MIT license.