- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for mark_flag_as_required (0.41 sec)
-
tensorflow/cc/experimental/libtf/tests/generate_testdata.py
path = os.path.join(TESTDATA_PATH.value, MODEL_NAME.value) saved_model.save(model, path) if __name__ == "__main__": v2_compat.enable_v2_behavior() flags.mark_flag_as_required("path") flags.mark_flag_as_required("model_name")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/define_op_template.py
'output', None, 'Path to write the genereated register op file and MLIR file.') flags.DEFINE_bool('gen_register_op', True, 'Generate register op cc file or tfr mlir file.') flags.mark_flag_as_required('output') @Composite('TestRandom', derived_attrs=['T: numbertype'], outputs=['o: T']) def _composite_random_op(): pass def main(_): if FLAGS.gen_register_op:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py
_SRCS = flags.DEFINE_string('src', None, 'source file locations') _NAMESPACE = flags.DEFINE_string('namespace', 'mlir::quant', 'namespace in the generated file') flags.mark_flags_as_required(['output_file', 'src']) def _substitute_for_loop_template(module: str) -> str: """Substitutes the for loop templates in the given module.""" compiled_regex = re.compile(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 20 01:38:06 UTC 2022 - 8.4K bytes - Viewed (0)