Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getOperandTypes (1.02 sec)

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

              /// propagated to the callee.
              return isa<CallOpInterface>(caller) &&
                     std::equal(caller->getOperandTypes().begin(),
                                caller->getOperandTypes().end(),
                                callers.front()->getOperandTypes().begin());
            })) {
          if (llvm::any_of(callers, [](Operation* op) {
                return isa<IfOp, WhileOp, CaseOp>(op);
              }))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      const int kLargeElementsAttr = 16;
      std::string op_str;
      llvm::raw_string_ostream os(op_str);
      inst->getName().print(os);
      os << "(";
      if (!inst->getOperandTypes().empty()) {
        bool first = true;
        for (Type operand_type : inst->getOperandTypes()) {
          os << (!first ? ", " : "");
          first = false;
          os << operand_type;
        }
      }
      os << ") -> (";
      if (!inst->getResultTypes().empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top