Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 732 for attr_ (0.05 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

          CHECK-NEXT: }
    
          CHECK-LABEL: tfr.func @tf__test_input_n_op(%ins: !tfr.tensor_list) -> (!tfr.tensor) {
          CHECK: %[[attr:.*]] = tfr.constant i64 -> !tfr.attr
          CHECK: %Const = tfr.call @tf__const(%{{.*}}, %[[attr]]) : (!tfr.attr, !tfr.attr) -> (!tfr.tensor)
        """
        self._check_code(mlir_code, mlir_code_exp)
    
      def test_tfr_tf_ops(self):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/log/nflog.go

    		if attrs.UID != nil {
    			uid = *attrs.UID
    		}
    		if attrs.GID != nil {
    			gid = *attrs.GID
    		}
    		inDev, outDev := "", ""
    		if attrs.InDev != nil {
    			ii, err := net.InterfaceByIndex(int(*attrs.InDev))
    			if err == nil {
    				inDev = ii.Name
    			}
    		}
    		if attrs.OutDev != nil {
    			ii, err := net.InterfaceByIndex(int(*attrs.OutDev))
    			if err == nil {
    				outDev = ii.Name
    			}
    		}
    		iptablesTrace.WithLabels(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    	if len(r.Verbs) > 0 {
    		if !hasString(r.Verbs, attrs.GetVerb()) {
    			return false
    		}
    	}
    
    	if len(r.Namespaces) > 0 || len(r.Resources) > 0 {
    		return ruleMatchesResource(r, attrs)
    	}
    
    	if len(r.NonResourceURLs) > 0 {
    		return ruleMatchesNonResource(r, attrs)
    	}
    
    	return true
    }
    
    // Check whether the rule's non-resource URLs match the request attrs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
      Status SetAttrType(const char* const attr_name, DataType value) override {
        if (!op_) {
          return Status(
              absl::StatusCode::kFailedPrecondition,
              "op_type and op_name must be specified before specifying attrs.");
        }
        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      forward_op_.attrs.Set(attr_name, value);
      return parent_op_->SetAttrFloat(attr_name, value);
    }
    Status TapeOperation::SetAttrBool(const char* attr_name, bool value) {
      forward_op_.attrs.Set(attr_name, value);
      return parent_op_->SetAttrBool(attr_name, value);
    }
    Status TapeOperation::SetAttrType(const char* attr_name, DataType value) {
      forward_op_.attrs.Set(attr_name, value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pkg/kubelet/server/auth.go

    	return attrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                final Attributes attrs = srcrslt.getAttributes();
    
                //get group attr
                final Attribute attr = attrs.get(fessConfig.getLdapMemberofAttribute());
                if (attr == null) {
                    continue;
                }
    
                for (int i = 0; i < attr.size(); i++) {
                    final Object attrValue = attr.get(i);
                    if (attrValue != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/ReproducibleDirectoryWalker.java

        }
    
        private static FileVisitResult visit(Path path, PathVisitor pathVisitor) throws IOException {
            BasicFileAttributes attrs;
            try {
                attrs = Files.readAttributes(path, BasicFileAttributes.class);
            } catch (IOException e) {
                try {
                    attrs = Files.readAttributes(path, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS);
                } catch (IOException next) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    					attrs = append(attrs, "$"+strings.TrimSpace(attr[0]), strings.TrimSpace(attr[1]))
    					r = strings.NewReplacer(attrs...)
    				}
    				// Ignore any unrecognized entries
    				continue
    			}
    			return nil, err
    		}
    		if m == nil {
    			continue
    		}
    		mapping = append(mapping, m)
    	}
    	if err := s.Err(); err != nil {
    		return nil, err
    	}
    	return mapping, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                        moduleVersionId = id
                    }
                }
                return node(type, id, moduleVersionId, attrs)
            }
    
            NodeBuilder node(String type, String id, String moduleVersion, Map attrs) {
                def node = nodes[moduleVersion]
                if (!node) {
                    node = new NodeBuilder(type, id, moduleVersion, attrs, this)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top