Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for getAlg (0.27 sec)

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

        auto q =
            rewriter.create<QuantizeOpT>(op.getLoc(), result_type, op.getArg());
        q->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr());
    
        auto dq = rewriter.create<DequantizeOpT>(op.getLoc(), op.getType(), q);
        op.getResult().replaceAllUsesWith(dq);
        q.getOperation()->replaceUsesOfWith(dq, op.getArg());
        op.erase();
    
        return success();
      }
    
     private:
      int num_bits;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder.go

    	util.AddSubsetToMetadata(subsetCluster.cluster.Metadata, subset.Name)
    	subsetCluster.cluster.Metadata = util.AddALPNOverrideToMetadata(subsetCluster.cluster.Metadata, opts.policy.GetTls().GetMode())
    	return subsetCluster.build()
    }
    
    // applyDestinationRule applies the destination rule if it exists for the Service.
    // It returns the subset clusters if any created as it applies the destination rule.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. pkg/volume/emptydir/empty_dir_test.go

    			t.Errorf("fail to create path: %s", volPath)
    		}
    	}
    
    	// Stat the directory and check the permission bits
    	testSetUp(mounter, metadataDir, volPath)
    
    	log := physicalMounter.GetLog()
    	// Check the number of mounts performed during setup
    	if e, a := config.expectedSetupMounts, len(log); e != a {
    		t.Errorf("Expected %v physicalMounter calls during setup, got %v", e, a)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. internal/event/target/kafka.go

    	if key.IsLast || target.batch.IsFull() {
    		return target.commitBatch()
    	}
    	return nil
    }
    
    func (target *KafkaTarget) commitBatch() error {
    	keys, msgs, err := target.batch.GetAll()
    	if err != nil {
    		return err
    	}
    	if err = target.producer.SendMessages(msgs); err != nil {
    		if isKafkaConnErr(err) {
    			return store.ErrNotConnected
    		}
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 15:02:59 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

        @Override
        public void resetModel() {
            state.restart(State.ReadyToReset, State.Configure, () -> {
                gradle.resetState();
                for (HoldsProjectState service : gradle.getServices().getAll(HoldsProjectState.class)) {
                    service.discardAll();
                }
            });
        }
    
        @Override
        public ExecutionResult<Void> beforeModelReset() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

    void PrepareDynamicRangeQuantizePass::removeAllStatsOp(func::FuncOp func) {
      func.walk([&](quantfork::StatisticsOp stats_op) {
        stats_op.replaceAllUsesWith(stats_op.getArg());
        stats_op.erase();
      });
    }
    
    void PrepareDynamicRangeQuantizePass::runOnOperation() {
      func::FuncOp func = getOperation();
      MLIRContext* ctx = func.getContext();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      for (int i = 0; i < op->getNumOperands(); ++i) {
        if (auto dq_op = dyn_cast_or_null<quantfork::DequantizeCastOp>(
                op->getOperand(i).getDefiningOp())) {
          auto type =
              mlir::cast<TensorType>(dq_op.getArg().getType()).getElementType();
          if (auto per_axis_qtype =
                  mlir::dyn_cast_or_null<quant::UniformQuantizedPerAxisType>(
                      QuantizedType::getQuantizedElementType(type))) {
            return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  8. src/runtime/signal_unix.go

    				gp := *(**g)(unsafe.Pointer(s.base()))
    				return gp
    			}
    			return nil
    		}
    	}
    	return getg()
    }
    
    // sigtrampgo is called from the signal handler function, sigtramp,
    // written in assembly code.
    // This is called by the signal handler, and the world may be stopped.
    //
    // It must be nosplit because getg() is still the G that was running
    // (if any) when the signal was delivered, but it's (usually) called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows.go

    	// calls back into Go.
    	c := &getg().m.winsyscall
    	c.fn = fn
    	c.n = uintptr(len(args))
    	if c.n != 0 {
    		c.args = uintptr(noescape(unsafe.Pointer(&args[0])))
    	}
    	cgocall(asmstdcallAddr, unsafe.Pointer(c))
    	// cgocall may reschedule us on to a different M,
    	// but it copies the return values into the new M's
    	// so we can read them from there.
    	c = &getg().m.winsyscall
    	return c.r1, c.r2, c.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

                conf.withDependencyActions = ImmutableActionSet.empty();
            });
        }
    
        @Deprecated
        @Override
        public Set<Configuration> getAll() {
            DeprecationLogger.deprecateMethod(Configuration.class, "getAll()")
                .withAdvice("Use the configurations container to access the set of configurations instead.")
                .willBeRemovedInGradle9()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
Back to top