Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateTypedAttr (0.16 sec)

  1. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/platform/status.h"
    #include "tsl/platform/statusor.h"
    
    namespace mlir {
    namespace TFL {
    
    absl::StatusOr<TypedAttr> CreateTypedAttr(ShapedType shaped_type, int value) {
      Type element_type = shaped_type.getElementType();
      if (element_type.isF16()) {
        auto floatType = mlir::FloatType::getF16(element_type.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top