Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for arg_attrs (0.15 sec)

  1. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      // TF op.
      LogicalResult CollectInputsAndAttributes(
          PatternRewriter& rewriter, TFRFuncOp signature, CallOp call_op,
          SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs,
          llvm::StringMap<Attribute>* derived_attrs) const;
    
      // Uses the collected attribute values to derive all the output types.
      LogicalResult DeriveOutputTypes(Location loc, FunctionType signature,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        llvm::SmallVector<Type> arg_types;
        llvm::SmallVector<Type> res_types;
        llvm::SmallVector<DictionaryAttr> arg_attrs;
        llvm::SmallVector<DictionaryAttr> res_attrs;
        if (failed(FilterTfgSpecificArgResultAttributes(
                getContext(), ftype.getInputs(), graph_func.getAllArgAttrs(),
                arg_types, arg_attrs)) ||
            failed(FilterTfgSpecificArgResultAttributes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

          llvm::StringSet<> all_attrs;
          for (auto& attr : (*this)->getAttrs()) {
            all_attrs.insert(attr.getName().strref());
          }
          for (const auto& operand : llvm::enumerate(getArgumentTypes())) {
            if (auto attr_name = getArgAttrOfType<StringAttr>(
                operand.index(), kAttrArgumentNameAttr)) {
              all_attrs.insert(attr_name.getValue());
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top