Skip to content

LatexifyNotSupportedError: Unsupported AST: Slice | tensorflow #205

@maifeeulasad

Description

@maifeeulasad

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions