Skip to content

Conversation

@cchung100m
Copy link
Contributor

Hi @FrozenGene

I add the missing operator 'tile' for TFLite, I would appreciate if you can help to review it, thanks.

@cchung100m
Copy link
Contributor Author

Hi @kevinthesun @icemelon9

I would appreciate if you can help to manage it, thanks :)

@zhiics
Copy link
Member

zhiics commented Aug 21, 2019

@apivovarov Could you help review since you worked on TFLite as well?

# reps (tuple of int) – The number of times repeating the tensor data.
reps = tuple(self.get_tensor_value(input_tensors[1]))

out = _op.tile(in_expr, reps)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment - Maybe directly return _op.tile(...)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe current implementation is acceptable. Because all other ops are implemented in this way:

    out = _op.xx()
    # if there are fused activation fn:
    # out = self.convert_fused_activation_function(out, fused_activation_fn)
    return out

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is far from a blocking comment :) Consistency is better

@cchung100m
Copy link
Contributor Author

Hi @hlu1

I would appreciate if you can help to manage it, thanks :)

@jroesch jroesch merged commit dee5246 into apache:master Sep 1, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 16, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 16, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants