Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for addAttributes (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        Block &GetBody() { return getOperation()->getRegion(0).front(); }
        bool WrapsSingleOp();
      }];
    
      let builders = [
        OpBuilder<(ins "StringAttr":$device, "TypeRange":$result_types),
        [{
          $_state.addAttribute("device", device);
          $_state.addTypes(result_types);
          $_state.addRegion();
        }]>
      ];
    
      let hasCanonicalizer = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

          "SparsityParameterAttr":$s_param, "Attribute":$compressed_data),
        [{
          $_state.addTypes(qtype.getValue());
          $_state.addAttribute("qtype", qtype);
          $_state.addAttribute("value", value);
          $_state.addAttribute("s_param", s_param);
          $_state.addAttribute("compressed_data", compressed_data);
        }]>
      ];
    }
    
    def TFL_QuantizeOp: TFL_Op<"quantize", [
        FirstAttrDerivedResultType,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        public void addAttribute(final String name, final Object value) {
            attributeMap.put(name, value);
        }
    
        public void addFeature(final String key, final String value) {
            featureMap.put(key, value);
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

                                result.attributes))
        return failure();
    
      Type i64 = parser.getBuilder().getIntegerType(64);
      if (parser.parseOptionalKeyword("parallel_iterations")) {
        result.addAttribute("parallel_iterations",
                            IntegerAttr::get(i64, kDefaultParallelIterations));
      } else {
        IntegerAttr parallel_iterations;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      let results = (outs TFR_AttrType:$out);
    
      let hasFolder = 1;
    
      let builders = [
        OpBuilder<(ins "Attribute":$value),
        [{
          auto* ctx = value.getContext();
          $_state.addAttribute("value", value);
          $_state.addTypes(TFRAttrType::get(ctx));
        }]>
      ];
    
      let assemblyFormat = [{
        $value attr-dict `->` type($out)
      }];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    PrettyPrintXMLWriter(java.io.Writer, String, String); public void startElement(String); public void writeText(String); public void writeMarkup(String); private void writeText(String, boolean); private static String escapeXml(String); public void addAttribute(String, String); public void endElement(); private void write(String); private void finishTag(); protected void endOfLine(); private void writeDocumentHeaders(); } org/codehaus/plexus/util/xml/pull/MXParser.class package org.codehaus.plexus.util.xml.pull;...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

            Type output_type;
            TF_RETURN_IF_ERROR(AddRef(type, &output_type));
            type = output_type;
          }
        }
      }
      for (auto& it : attrs_) state_->addAttribute(it.first(), it.second);
      *state = state_.get();
      return absl::OkStatus();
    }
    
    const string& MlirAbstractOp::Name() const { return tf_op_type_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        mlir::SymbolRefAttr val =
            mlir::SymbolRefAttr::get(builder_.getContext(), node_type_name);
        result.addAttribute("f", val);
    
        if (!result.attributes.get("_disable_call_shape_inference")) {
          result.addAttribute("_disable_call_shape_inference",
                              builder_.getBoolAttr(false));
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

                        Attribute value) {
      // Handle the case where the type and value are already tensors.
      if (mlir::isa<TensorType>(type) && mlir::isa<ElementsAttr>(value)) {
        result.addTypes(type);
        result.addAttribute("value", value);
        return;
      }
    
      // Otherwise, default to the attribute builder.
      ConstOp::build(builder, result, value);
      assert(type == result.types[0] && "type mismatch in construction");
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top