Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsRankedInt (0.35 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      if (args.size() != 2) return false;
      if (!absl::StrContains(equation_attr.str(), "->")) return false;
    
      // Check the types and ranks of the input arguments.
      if (!IsRankedInt(args[0], 32)) return false;
      if (!IsRankedInt(args[1], 32)) return false;
    
      // Trace the graph to see if the conversion is applicable.
      Operation *op_input = args[0].getDefiningOp();
      Operation *op_weight = args[1].getDefiningOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top