Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for scale_fn (0.15 sec)

  1. tensorflow/compiler/mlir/lite/quantization/device_target.h

    struct KernelSpec {
      // Scale constraint
      ScaleConstraintType type;
    
      // Custom function to derive the scales. Only available when the scale
      // constraint is `CustomScale`.
      ScaleFn scale_fn;
    };
    
    class KernelSpecs {
     public:
      using Signature = llvm::SmallVector<quant::AnyQuantizedType, 4>;
    
      // Returns the kernel specification for the kernel signature.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int.go

    Dr. Stefan Schimanski <******@****.***> 1485349987 +0100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 20:41:44 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/monitor/metrics.go

    		&metrics.CounterOpts{
    			Subsystem:      hpaControllerSubsystem,
    			Name:           "reconciliations_total",
    			Help:           "Number of reconciliations of HPA controller. The label 'action' should be either 'scale_down', 'scale_up', or 'none'. Also, the label 'error' should be either 'spec', 'internal', or 'none'. Note that if both spec and internal errors happen during a reconciliation, the first one to occur is reported in `error` label.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/monitor/monitor.go

    */
    
    package monitor
    
    import (
    	"time"
    
    	v2 "k8s.io/api/autoscaling/v2"
    )
    
    type ActionLabel string
    type ErrorLabel string
    
    const (
    	ActionLabelScaleUp   ActionLabel = "scale_up"
    	ActionLabelScaleDown ActionLabel = "scale_down"
    	ActionLabelNone      ActionLabel = "none"
    
    	// ErrorLabelSpec represents an error due to an invalid spec of HPA object.
    	ErrorLabelSpec ErrorLabel = "spec"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/device_target.cc

      } else {  // float
        signature->push_back(AnyQuantizedType());
      }
    }
    
    LogicalResult DeviceTarget::RegisterKernel(
        llvm::StringRef kernel, const KernelSpecs::Signature& signature,
        const ScaleFn& fn, const ScaleDecomposeFn& dfn) {
      return specs_[kernel].Add(signature, {ScaleConstraintType::CustomScale, fn});
    }
    
    namespace ph = std::placeholders;
    
    LogicalResult DeviceTarget::RegisterKernel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    			if sampleType[i] == nil {
    				ratios[i] = 1
    				continue
    			}
    			ratios[i], _ = Scale(1, st.Unit, sampleType[i].Unit)
    			p.SampleType[i].Unit = sampleType[i].Unit
    		}
    		if err := p.ScaleN(ratios); err != nil {
    			return fmt.Errorf("scale: %v", err)
    		}
    	}
    	return nil
    }
    
    // CommonValueType returns the finest type from a set of compatible
    // types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top