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:

Risposte (0)

Questa domanda è chiusa.

Prodotti

Richiesto:

il 16 Lug 2019

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by