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:

回答(0 个)

此问题已关闭。

产品

提问:

2019-7-16

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by