Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 339 for attr_ (0.07 sec)

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

    // and writes X, Y as 32-bit integer attribute to `x`, `y`.
    bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x,
                         IntegerAttr *y) {
      auto attr = op->getAttrOfType<ArrayAttr>(name);
      if (!attr) return false;
    
      auto elements = attr.getValue();
      if (elements.size() != 4 ||
          std::any_of(elements.begin(), elements.end(),
                      [](Attribute e) { return !mlir::isa<IntegerAttr>(e); }))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.cc

      }
    }
    
    // Shuffle elements in the `attr` according to the permutation. Optional
    // `inner_size` allows to shuffle array attributes created from rank 2 tensors
    // on outer dimension only.
    ArrayAttr ShuffleArrayAttr(ArrayAttr attr, ArrayRef<int64_t> permutation,
                               int inner_size) {
      if (attr.empty()) return attr;
    
      assert(attr.size() % inner_size == 0);
      assert(attr.size() / inner_size == permutation.size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    		{name: "429s retry", attr: aliceAttr, allow: false, statusCode: 429, expectedErr: true, expectedAuthorized: false, expectedCalls: 5},
    		// regular errors return errors but do not retry
    		{name: "404 doesnt retry", attr: aliceAttr, allow: false, statusCode: 404, expectedErr: true, expectedAuthorized: false, expectedCalls: 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let description = [{
        The CreateOp creates the tensorflow::OpKernel in the fallback context.
      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def ConstOp: TensorflowMlrt_Op<"constop", []> {
      let summary = "The tf_mlrt ConstOp";
    
      let description = [{
        The ConstOp creates a constant tensorflow::Tensor from serialized proto.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeStaxBuilder.java

                        if (attributesSize > 0 || namespacesSize > 0) {
                            attrs = new HashMap<>();
                            for (int i = 0; i < namespacesSize; i++) {
                                String nsPrefix = parser.getNamespacePrefix(i);
                                String nsUri = parser.getNamespaceURI(i);
                                attrs.put(nsPrefix != null && !nsPrefix.isEmpty() ? "xmlns:" + nsPrefix : "xmlns", nsUri);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

        const float ratio_threshold) {
      ElementsAttr attr;
      ShapedType type;
      InspectResult result = {};
      if (auto cst = dyn_cast<ConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else if (auto cst = dyn_cast<QConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    func shouldCache(attr authorizer.Attributes) bool {
    	controlledAttrSize := int64(len(attr.GetNamespace())) +
    		int64(len(attr.GetVerb())) +
    		int64(len(attr.GetAPIGroup())) +
    		int64(len(attr.GetAPIVersion())) +
    		int64(len(attr.GetResource())) +
    		int64(len(attr.GetSubresource())) +
    		int64(len(attr.GetName())) +
    		int64(len(attr.GetPath()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

          }
        }
      }
      return success();
    }
    
    void ModifyIONodesPass::runOnOperation() {
      auto func = getOperation();
      auto attrs = func->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function");
    
      // Handle the entry functions only.
      if (func.getName() != "main" && (!attrs || attrs.empty())) {
        return;
      }
    
      OpBuilder builder(func);
      FunctionType func_type = func.getFunctionType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/syscall/exec_unix.go

    }
    
    var zeroProcAttr ProcAttr
    var zeroSysProcAttr SysProcAttr
    
    func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) {
    	var p [2]int
    	var n int
    	var err1 Errno
    	var wstatus WaitStatus
    
    	if attr == nil {
    		attr = &zeroProcAttr
    	}
    	sys := attr.Sys
    	if sys == nil {
    		sys = &zeroSysProcAttr
    	}
    
    	// Convert args to C form.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_config.properties

    ldap.attr.postalAddress=postalAddress
    ldap.attr.city=l
    ldap.attr.teletexTerminalIdentifier=teletexTerminalIdentifier
    ldap.attr.x121Address=x121Address
    ldap.attr.businessCategory=businessCategory
    ldap.attr.registeredAddress=registeredAddress
    ldap.attr.displayName=displayName
    ldap.attr.preferredLanguage=preferredLanguage
    ldap.attr.departmentNumber=departmentNumber
    ldap.attr.uidNumber=uidNumber
    ldap.attr.gidNumber=gidNumber
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Apr 11 02:34:53 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top