Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for attr_in (0.24 sec)

  1. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h

     public:
      explicit ConvertMaxUnpoolingFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
          : func_(func), attr_(attr) {}
    
      LogicalResult RewriteFunc();
    
      LogicalResult VerifySignature();
    
     private:
      LogicalResult CreateCustomOptions(std::string& custom_option_buffer);
    
      func::FuncOp func_;
      mlir::TF::FuncAttr attr_;
    };
    
    // Fuse DenseImageWarp ops annotated by tf.function to a TFLite custom op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 17:42:55 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers.h

        return input_matchers_;
      }
      const std::optional<NodeSeqMatcher>& control_deps() const {
        return control_deps_;
      }
      const std::optional<AttrKeyValuePair>& attr() const { return attr_; }
    
      void set_name(string name) {
        DCHECK(IsEmpty());
        name_ = std::move(name);
      }
    
      void set_op(string op) {
        DCHECK(IsEmpty());
        op_ = std::move(op);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGeneratorTest.groovy

            given:
            pom.coordinates.groupId.set('group-ぴ₦ガき∆ç√∫')
            pom.coordinates.artifactId.set('artifact-<tag attrib="value"/>-markup')
            pom.coordinates.version.set('version-&"')
    
            expect:
            with (xml) {
                groupId == 'group-ぴ₦ガき∆ç√∫'
                artifactId == 'artifact-<tag attrib="value"/>-markup'
                version == 'version-&"'
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy

            descriptor.coordinates.organisation.set('org-ぴ₦ガき∆ç√∫')
            descriptor.coordinates.module.set('module-<tag attrib="value"/>-markup')
            descriptor.coordinates.revision.set('version-&"')
    
            then:
            with (ivyXml) {
                info.@organisation == 'org-ぴ₦ガき∆ç√∫'
                info.@module == 'module-<tag attrib="value"/>-markup'
                info.@revision == 'version-&"'
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

        return func_.emitWarning()
               << "Invalid number of results from " << kMaxUnpooling << ": "
               << func_.getFunctionType().getNumResults();
      }
    
      auto attrs = attr_.getAttrs();
    
      if (failed(HasIntegerArrayWithSize(&func_, attrs, "pool_size", 2))) {
        return failure();
      }
    
      if (failed(HasIntegerArrayWithSize(&func_, attrs, "strides", 2))) {
        return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

                     StringAttr::get(func_.getContext(), kCustomSSDPostprocessing));
    
      OpBuilder builder(func_.getBody());
      std::string custom_option_buffer;
      if (failed(CreateNMSCustomOptions(func_, attr_.getAttrs(),
                                        custom_option_buffer))) {
        return failure();
      }
      auto op = builder.create<CustomOp>(
          func_.getLoc(), func_.getFunctionType().getResults(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

                           .getLeafReference()
                           .getValue());
        // Remove the attribute from the instruction as it is already converted to
        // op_name.
        auto attr_id = mlir::StringAttr::get(inst->getContext(), "f");
        inst->removeAttr(attr_id);
      } else {
        // Some control flow ops in TensorFlow Graph have their respective "Ref" ops
        // as well. For example there is Enter and RefEnter op. RefEnter forwards
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

    LogicalResult ConvertToI32Attr(IntegerAttr attr, IntegerAttr* attr_i32) {
      if (attr.getType().isInteger(/*width=*/32)) {
        *attr_i32 = attr;
        return success();
      }
    
      int64_t value = attr.getInt();
      if (value > std::numeric_limits<int>::max() ||
          value < std::numeric_limits<int>::min()) {
        return failure();
      }
    
      *attr_i32 = IntegerAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

            string_attr.getValue() == kNullAttributeValue) {
          continue;
        }
    
        if (std::find_if(
                attr_to_op_map.begin(), attr_to_op_map.end(), [&](auto attr_op) {
                  return std::get<0>(attr_op).getName() == attribute.getName();
                }) == attr_to_op_map.end()) {
          emitError(UnknownLoc::get(&context),
                    "Could not find attribute: " + attribute.getName().str());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          tensorflow::Tensor tensor(list->element_dtype,
                                    tensorflow::TensorShape(result_shape));
          auto attr_or = tensorflow::ConvertTensor(tensor, &rewriter);
          if (!attr_or.ok()) return failure();
          rewriter.replaceOpWithNewOp<TF::ConstOp>(op, attr_or.value());
          return success();
        }
    
        // Extract individual tensor list element and combine them using the tf.Pack
        // op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top