Skip to content

TFLite Tutorial broken by recent commit. #3332

@mshawcroft

Description

@mshawcroft

The TFLite tutorial is here: https://docs.tvm.ai/tutorials/frontend/from_tflite.html is broken by this recent commit:

#3141

commit b63267b
Author: Zhao Wu wuzhaozju@gmail.com
Date: Wed May 22 10:44:47 2019 +0800

[TFLite] Convert TFLite NCHW to NHWC (#3141)
* Convert TFLite NCHW to NHWC 
* Minor comment fix

Building the example in the tutorial results in this failure:
In main:
v0.0.1
fn (%input: Tensor[(1, 3, 224, 224), float32]) {
%0 = nn.pad(%input, pad_width=[[0, 0], [0, 1], [0, 1], [0, 0]])
%1 = nn.conv2d(%0, meta[relay.Constant][0], strides=[2, 2], channels=32, kernel_size=[3, 3], data_layout="NHWC", kernel_layout="HWIO")an internal invariant was violated while typechecking your program [15:33:02] /workspace/src/relay/pass/type_solver.cc:119: Check failed: resolved.defined(): Unable to unify parent types: TensorType([3, 3, 224, 32], float32) and TensorType([3, 3, 3, 32], float32)
;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions