use python in matlab (about how to write "with as" syntax)

I want to use tensorflow in Matlab, but I dont known to write "with XXX as XXX:" in Matlab. Source Python code and Matlab code are shown below:
PYTHON:
MATLAB:

Réponses (0)

Cette question est clôturée.

Produits

Question posée :

le 16 Juil 2019

Clôturé :

le 20 Août 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by