Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _emit_with_loc (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

              'to _ATTRIBUTE_RENAMES.')
        if cst_ty == TFRTypes.ATTR:
          self._emit_with_loc('\n{} = tfr.constant {} -> {}'.format(
              name, cst_val, cst_ty))
        elif cst_ty == TFRTypes.I1:
          self._emit_with_loc('\n{} = arith.constant {}'.format(name, cst_val))
        else:
          self._emit_with_loc('\n{} = arith.constant {} : {}'.format(
              name, cst_val, cst_ty))
        return name, cst_ty
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
Back to top