Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for in_scale (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // perfectly with the specified min/max. Nudge them into the right range.
        auto min_scaled =
            rewriter.create<DivOp>(op.getLoc(), float_min, quant_to_float);
        auto min_scaled_sub =
            rewriter.create<SubOp>(op.getLoc(), quant_min, min_scaled);
    
        auto mid_rounded =
            rewriter.create<RoundOp>(op.getLoc(), scalar_ty, min_scaled_sub);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      ArrayRef<int64_t> in_shape = ranked_type.getShape();
      if (in_shape.empty() || in_shape[0] < 0) {
        return context_op->emitOpError()
               << "A map_outside_compilation op's input and output shapes must "
                  "have rank at least one and the first dimension must be known.";
      }
      int64_t split_size = in_shape[0] / num_cores_per_replica;
      if (in_shape[0] % num_cores_per_replica != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
Back to top