Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LatexifyNotSupportedError: Unsupported AST: Slice | tensorflow #205

Open
maifeeulasad opened this issue May 5, 2024 · 0 comments
Open
Assignees
Labels

Comments

@maifeeulasad
Copy link

Description

I was trying to convert my tensorflow methods into latex code, and for that I was planning to use latexify.

If you have an idea about the solution you'd like, describe details about it. Here is the code for it:

import tensorflow as tf
import latexify

@latexify.function
def min_max_layer(inputs):
    return tf.math.minimum(inputs[:, 0], inputs[:, 1]), tf.math.maximum(inputs[:, 0], inputs[:, 1])

min_max_layer

But it gives me LatexifyNotSupportedError: Unsupported AST: Slice

Ideas of the solution

No idea

Alternative ideas

No alternate idea

Additional context

No context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants