Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAxis (0.09 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      // Figure out output shapes.
      SmallVector<int64_t, 4> concat_out_shape;
      SmallVector<int64_t, 4> pack_out_shape;
    
      const int64_t rank = input_type.getRank();
      int64_t pack_axis = pack_op.getAxis();
      size_t count = pack_inputs.size();
      if (pack_axis < 0) {
        pack_axis += rank;
      }
    
      // Concat out shape.
      for (int i = 0; i < rank; ++i) {
        int64_t dim_size = input_type.getDimSize(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      auto values = tf_concat_op.getValues();
      auto output_type = tf_concat_op.getOutput().getType();
      // Extract axis attribute from constant axis tensor
      ElementsAttr axis;
      if (!matchPattern(tf_concat_op.getAxis(), m_Constant(&axis)))
        return failure();
      IntegerAttr axis_int = ExtractSingleElementAsInteger(axis);
    
      // "axis" operand could be a i64 tensor. Resolve it here.
      IntegerAttr axis_i32;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            }
            TensorRangeSanityCheck(op, rmin, rmax);
            mins.push_back(rmin);
            maxs.push_back(rmax);
          }
          quant_type = quantfork::fakeQuantAttrsToType(
              op.getLoc(), num_bits, *op.getAxis(), mins, maxs, narrow_range,
              expressed, is_signed);
          if (legacy_float_scale) {
            quant_type = DownCastScale(quant_type, mins, maxs, op->getLoc());
          }
        } else if (auto stats =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top