Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 207 for getAlg (0.32 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

      // quant.qcast op in case it overrides the information from training FakeQuant
      // ops.
      func.walk([&](quantfork::QuantizeCastOp q) {
        auto input_op = q.getArg().getDefiningOp();
        if (auto stats = dyn_cast_or_null<quantfork::StatisticsOp>(input_op)) {
          q.setOperand(stats.getArg());
          if (stats.use_empty()) stats.erase();
        }
      });
    
      // Step 1: forward pass: propagate any value scales which are not produces
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/test/mock/caserver.go

    	if err != nil {
    		caServerLog.Errorf("failed to parse CSR: %+v", err)
    		return nil, caerror.NewError(caerror.CSRError, err)
    	}
    	signingCert, signingKey, _, _ := s.KeyCertBundle.GetAll()
    	certBytes, err := util.GenCertFromCSR(csr, signingCert, csr.PublicKey, *signingKey, subjectIDs, s.certLifetime, forCA)
    	if err != nil {
    		caServerLog.Errorf("failed to generate cert from CSR: %+v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. cmd/bucket-replication-stats.go

    		rs.Completed = true
    	case replication.Pending:
    		rs.Pending = true
    	case replication.Failed:
    		rs.Failed = true
    		rs.Err = err
    	}
    }
    
    // GetAll returns replication metrics for all buckets at once.
    func (r *ReplicationStats) GetAll() map[string]BucketReplicationStats {
    	if r == nil {
    		return map[string]BucketReplicationStats{}
    	}
    
    	r.RLock()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

                                    PatternRewriter& rewriter) const override {
        auto preceding_qcast =
            q_op.getArg().getDefiningOp<quantfork::QuantizeCastOp>();
        if (!preceding_qcast) return failure();
    
        auto new_qcast = rewriter.create<quantfork::QuantizeCastOp>(
            q_op.getLoc(), q_op.getType(), preceding_qcast.getArg());
        new_qcast->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr());
        q_op->replaceAllUsesWith(new_qcast);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceLocator.java

        }
    
        @Override
        public <T> T get(Class<T> serviceType) throws UnknownServiceException {
            return getFactory(serviceType).create();
        }
    
        @Override
        public <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException {
            List<ServiceFactory<T>> factories = findFactoriesForServiceType(serviceType);
            ArrayList<T> services = new ArrayList<T>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/store.go

    	instancesByHostAndPort sets.Set[hostPort]
    }
    
    func (s *serviceInstancesStore) getByIP(ip string) []*model.ServiceInstance {
    	return s.ip2instance[ip]
    }
    
    func (s *serviceInstancesStore) getAll() []*model.ServiceInstance {
    	all := make([]*model.ServiceInstance, 0, countSliceValue(s.ip2instance))
    	for _, instances := range s.ip2instance {
    		all = append(all, instances...)
    	}
    	return all
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

            return failure();
          }
          output_types = {new_output_type};
        } else {
          output_types = {output_type.clone(elem_type.getStorageType())};
        }
    
        SmallVector<Value> args = {q_op.getArg(), scale, zero_point};
        FlatSymbolRefAttr func_name =
            FlatSymbolRefAttr::get(rewriter.getStringAttr(kQuantizeFuncName));
    
        auto quantize_call = rewriter.create<TF::PartitionedCallOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server_test.go

    		w.WriteHeader(http.StatusOK)
    		w.Header().Add("Content-Type", "text/html")
    		w.Write([]byte(content))
    	}
    
    	resp, err := http.Get(fw.testHTTPServer.URL + "/logs/")
    	if err != nil {
    		t.Fatalf("Got error GETing: %v", err)
    	}
    	defer resp.Body.Close()
    
    	body, err := httputil.DumpResponse(resp, true)
    	if err != nil {
    		// copying the response body did not work
    		t.Errorf("Cannot copy resp: %#v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/common/deployment/namespace.go

    	}
    	if !t.Settings().Skip(echo.Sotw) {
    		n.Sotw = match.ServiceName(echo.NamespacedName{Name: SotwSvc, Namespace: ns}).GetMatches(echos)
    	}
    
    	namespaces, err := namespace.GetAll(t)
    	if err != nil {
    		return fmt.Errorf("failed retrieving list of namespaces: %v", err)
    	}
    
    	// Restrict egress from this namespace to only those endpoints in the same Echos.
    	cfg := t.ConfigIstio().New()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

                  .getOutputDimensions()
                  .getDefiningOp<shape::ShapeOfOp>();
          // Check if the shape come from the original conv op.
          if (!shape_of_op ||
              shape_of_op.getArg().getDefiningOp<mhlo::ConvolutionOp>() !=
                  conv_op) {
            return failure();
          }
          Value new_shape_of = rewriter.create<shape::ShapeOfOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top