Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ConvertNonFuncAttributeValue (0.44 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder) {
      switch (value.value_case()) {
        case AttrValue::kI:
          return builder->getI64IntegerAttr(value.i());
        case AttrValue::kS:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h

    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder);
    
    // Converts all kinds of AttrValue proto into an MLIR attribute.
    absl::StatusOr<mlir::Attribute> ConvertAttributeValue(const AttrValue& value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

            }
            return builder_.getArrayAttr(
                llvm::ArrayRef(attrs.begin(), attrs.end()));
          }
          return ConvertNonFuncAttributeValue(value, &builder_);
        }
        default:
          return ConvertNonFuncAttributeValue(value, &builder_);
      }
    }
    
    void ImporterBase::GetArgsAndRetsFromFunctionBody(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top