- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for visit_FunctionDef (0.48 sec)
-
tensorflow/compiler/mlir/tfr/python/op_reg_gen.py
def visit_List(self, node): return [self.visit(cst) for cst in node.elts] def visit_arguments(self, node): return [self.visit(arg) for arg in node.args] def visit_FunctionDef(self, node): # TODO(fengliuai): create one utility method to match different apis and # shared it with the tfr_gen.py module. compose_dec = [] for dec in node.decorator_list:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
node) else: self._emit_with_loc( '\n{} = arith.constant {} : {}'.format(cst_name, cst_val, cst_ty), node) return cst_name, cst_ty def visit_FunctionDef(self, node): op_def, derived_attrs = self._op_defs.lookup(node.name, node, True) if op_def is None: # Nested function. Insert it to symbol table for looking up later.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0)