Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test_lut_optimizer.py
  • Loading branch information
ekalda committed Mar 31, 2022
commit 17acd2cdfb46a33bedd32ccafb72f006ec366392
3 changes: 1 addition & 2 deletions tests/python/contrib/test_ethosu/test_lut_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from tvm.relay.backend.contrib.ethosu.codegen import relay_to_tir
from tvm.relay.op.contrib.ethosu import partition_for_ethosu

from .test_codegen import _get_tflite_graph
from . import infra


Expand Down Expand Up @@ -121,7 +120,7 @@ def get_graph(x):
op = tf.nn.depthwise_conv2d(op, weight2, (1, 1, 1, 1), "VALID")
return tf.nn.tanh(op)

mod, _ = _get_tflite_graph(get_graph, [ifm_shape])
mod, _ = infra.get_tflite_graph(get_graph, [ifm_shape])
mod = partition_for_ethosu(mod)
mod = relay_to_tir(mod)

Expand Down