Home
last modified time | relevance | path

Searched refs:static_alloc (Results 1 – 25 of 113) sorted by relevance

12345

/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/machine_translation/
H A Dtrain_transformer.py187 static_alloc = True variable
188 model.hybridize(static_alloc=static_alloc)
198 label_smoothing.hybridize(static_alloc=static_alloc)
201 loss_function.hybridize(static_alloc=static_alloc)
204 test_loss_function.hybridize(static_alloc=static_alloc)
H A Dinference_transformer.py190 static_alloc = True variable
191 model.hybridize(static_alloc=static_alloc)
202 test_loss_function.hybridize(static_alloc=static_alloc)
H A Dtrain_gnmt.py134 static_alloc = True variable
135 model.hybridize(static_alloc=static_alloc)
146 loss_function.hybridize(static_alloc=static_alloc)
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/multi_threaded_inference/
H A Dmulti_threaded_inference.cc150 int num_threads = 1, bool static_alloc = false, in run_inference() argument
157 " static_alloc: " + std::to_string(static_alloc) + in run_inference()
162 std::string static_alloc_str = static_alloc ? "true" : "false"; in run_inference()
323 bool static_alloc = true; in main() local
347 std::string static_alloc_str = static_alloc ? "true" : "false"; in main()
351 static_alloc, static_shape, is_gpu); in main()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/multi_threaded_inference/
H A Dmulti_threaded_inference.cc150 int num_threads = 1, bool static_alloc = false, in run_inference() argument
157 " static_alloc: " + std::to_string(static_alloc) + in run_inference()
162 std::string static_alloc_str = static_alloc ? "true" : "false"; in run_inference()
323 bool static_alloc = true; in main() local
347 std::string static_alloc_str = static_alloc ? "true" : "false"; in main()
351 static_alloc, static_shape, is_gpu); in main()
/dports/lang/mosml/mosml-ver-2.10.1/src/compiler.cminusminus/
H A DMemory.sml9 prim_val static_alloc : int -> string = 1 "static_alloc";
/dports/lang/mosml/mosml-ver-2.10.1/src/compiler/
H A DMemory.sml9 prim_val static_alloc : int -> string = 1 "static_alloc";
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/imperative/
H A Dcached_op_threadsafe.h48 bool static_alloc; member
51 DMLC_DECLARE_FIELD(static_alloc) in DMLC_DECLARE_PARAMETER()
H A Dcached_op_threadsafe.cc50 if (!config_.static_alloc || i.unique()) { in GetCachedOpState()
72 CHECK(config_.static_alloc) << "static_alloc must be True when static_shape is True"; in CachedOpThreadSafe()
181 if (config_.static_alloc) { in Forward()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/imperative/
H A Dcached_op_threadsafe.h48 bool static_alloc; member
51 DMLC_DECLARE_FIELD(static_alloc) in DMLC_DECLARE_PARAMETER()
H A Dcached_op_threadsafe.cc50 if (!config_.static_alloc || i.unique()) { in GetCachedOpState()
72 CHECK(config_.static_alloc) << "static_alloc must be True when static_shape is True"; in CachedOpThreadSafe()
181 if (config_.static_alloc) { in Forward()
/dports/misc/py-gluonnlp/gluon-nlp-0.10.0/scripts/ner/
H A Dpredict_ner.py92 net.hybridize(static_alloc=True)
95 loss_function.hybridize(static_alloc=True)
H A Dfinetune_bert.py106 net.hybridize(static_alloc=True)
109 loss_function.hybridize(static_alloc=True)
/dports/misc/mxnet/incubator-mxnet-1.9.0/benchmark/python/control_flow/
H A Drnn.py94 cell.hybridize(static_alloc=True)
98 layer.hybridize(static_alloc=True)
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/benchmark/python/control_flow/
H A Drnn.py94 cell.hybridize(static_alloc=True)
98 layer.hybridize(static_alloc=True)
/dports/misc/py-gluoncv/gluon-cv-0.9.0/scripts/classification/imagenet/
H A Dverify_pretrained.py150 net.hybridize(static_alloc=True, static_shape=True)
157 net.hybridize(static_alloc=True, static_shape=True)
220 net.hybridize(static_alloc=True, static_shape=True)
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python-pytest/onnx/
H A Dtest_onnxruntime_nlp.py47 model.hybridize(static_alloc=False)
103 model.hybridize(static_alloc=True)
155 model.hybridize(static_alloc=True)
261 model.hybridize(static_alloc=True)
392 model.hybridize(static_alloc=True)
446 model.hybridize(static_alloc=False)
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python-pytest/onnx/
H A Dtest_onnxruntime_nlp.py47 model.hybridize(static_alloc=False)
103 model.hybridize(static_alloc=True)
155 model.hybridize(static_alloc=True)
261 model.hybridize(static_alloc=True)
392 model.hybridize(static_alloc=True)
446 model.hybridize(static_alloc=False)
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/auto/estimators/mask_rcnn/
H A Ddefault.py85 static_alloc = False variable in MaskRCNN
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/cpp/thread_safety/
H A Dthread_safety_test.cc174 int num_threads = 1, bool static_alloc = false, in run_inference() argument
181 " static_alloc: " + std::to_string(static_alloc) + in run_inference()
184 std::string static_alloc_str = static_alloc ? "true" : "false"; in run_inference()
351 int num_threads = 1, bool static_alloc = false, in run_inference_unsupported() argument
358 " static_alloc: " + std::to_string(static_alloc) + in run_inference_unsupported()
361 std::string static_alloc_str = static_alloc ? "true" : "false"; in run_inference_unsupported()
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/cpp/thread_safety/
H A Dthread_safety_test.cc174 int num_threads = 1, bool static_alloc = false, in run_inference() argument
181 " static_alloc: " + std::to_string(static_alloc) + in run_inference()
184 std::string static_alloc_str = static_alloc ? "true" : "false"; in run_inference()
351 int num_threads = 1, bool static_alloc = false, in run_inference_unsupported() argument
358 " static_alloc: " + std::to_string(static_alloc) + in run_inference_unsupported()
361 std::string static_alloc_str = static_alloc ? "true" : "false"; in run_inference_unsupported()
/dports/lang/ocaml/ocaml-4.05.0/bytecomp/
H A Dmeta.ml18 external static_alloc : int -> bytes = "caml_static_alloc"
H A Dmeta.mli20 external static_alloc : int -> bytes = "caml_static_alloc"
/dports/lang/ocaml-nox11/ocaml-4.05.0/bytecomp/
H A Dmeta.ml18 external static_alloc : int -> bytes = "caml_static_alloc"
H A Dmeta.mli20 external static_alloc : int -> bytes = "caml_static_alloc"

12345