Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions