Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFRTensorListType (0.38 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_types.h

      static std::string getTypeName() { return "TFRTensorType"; }
    };
    
    class TFRTensorListType : public detail::TFRTypeImpl<TFRTensorListType> {
     public:
      using TFRBase::TFRBase;
      static constexpr StringLiteral name = "tfr.tensor_list";
      static std::string getTypeName() { return "TFRTensorListType"; }
    };
    
    class TFRAttrType : public Type::TypeBase<TFRAttrType, TFRType, TypeStorage> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        : Dialect(/*name=*/"tfr", context, TypeID::get<TFRDialect>()) {
      // TFR depends on TensorFlow for its canonicalization
      context->getOrLoadDialect<TF::TensorFlowDialect>();
    
      addTypes<TFRTensorType, TFRTensorListType, TFRAttrType>();
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc.inc"
          >();
    
      addInterfaces<TFRInlinerInterface>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

          return success();
        }
      }
    
      // If there is an attribute associated to the input in the signature,
      // we store it as an derived attribute.
      if (auto list_type = mlir::dyn_cast<TFRTensorListType>(input_tfr_type)) {
        auto attr_names = list_type.getAttrKeys();
        if (attr_names.empty()) return success();
    
        // N*T case
        if (attr_names.size() == 2) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                                                 op->getOperand(arg.index()));
            new_operands.push_back(casted);
          } else if (auto list_type =
                         mlir::dyn_cast<TFRTensorListType>(arg.value())) {
            llvm::SmallVector<Value, 4> variadic_operands;
            for (int i = arg.index(); i < op->getNumOperands(); i++) {
              auto casted = builder.create<CastOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top