Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rhs_dims (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // and concatenate scalars into the vector.
      if (is_all_tensors(0, axis) && is_all_scalars(1)) {
        std::array<int64_t, 1> rhs_dims{
            static_cast<int64_t>(op.getValues().size())};
        auto rhs_type =
            tensorflow::GetTypeFromTFTensorShape(rhs_dims, ranked.getElementType());
        return HoistParams{args(0),
                           args(1),
                           axis,
                           0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      llvm::SmallVector<int64_t, 4> dims;
      dims.reserve(lhs.getRank());
      for (auto dim : llvm::zip(lhs.getShape(), rhs.getShape())) {
        int64_t lhs_dim = std::get<0>(dim);
        if (lhs_dim == std::get<1>(dim)) {
          dims.push_back(lhs_dim);
        } else {
          dims.push_back(ShapedType::kDynamic);
        }
      }
      return tensorflow::GetTypeFromTFTensorShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top