Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFRTensorType (0.41 sec)

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

      ArrayRef<StringAttr> getAttrKeys() { return Base::getImpl()->GetAttrs(); }
    };
    }  // namespace detail
    
    class TFRTensorType : public detail::TFRTypeImpl<TFRTensorType> {
     public:
      using TFRBase::TFRBase;
      static constexpr StringLiteral name = "tfr.tensor";
      static std::string getTypeName() { return "TFRTensorType"; }
    };
    
    class TFRTensorListType : public detail::TFRTypeImpl<TFRTensorListType> {
     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

      }
      // Create the tfr.cast ops on the results and replace the uses of the
      // original call op.
      TFRTensorType unconstrainted_type = rewriter.getType<TFRTensorType>();
      SmallVector<Value, 4> new_results;
      for (auto res : llvm::enumerate(call_op.getResultTypes())) {
        Type res_type = res.value();
        if (mlir::dyn_cast<TFRTensorType>(res_type)) {
          Value new_res = new_op->getResult(res.index());
    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->getName().getStringRef().str());
    
        auto compose_func_type = compose_func.getFunctionType();
        builder.setInsertionPoint(op);
        TFRTensorType unconstrainted_tensor_type = builder.getType<TFRTensorType>();
    
        // Create the new operands. This is mapping the operands from the target
        // TF ops to the TFR function arguments. If the TFR function argument is
    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