Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getOperandTypes (0.39 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      // still.
      auto is_legal = [](Operation *op) {
        auto is_not_variant = [](Type ty) {
          return !ty.cast<ShapedType>().getElementType().isa<TF::VariantType>();
        };
        return llvm::all_of(op->getOperandTypes(), is_not_variant) &&
               llvm::all_of(op->getResultTypes(), is_not_variant);
      };
    
      auto is_set_item_legal = [](Operation *op) {
        return op->hasAttr("resize_if_index_out_of_bounds") &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top