Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 148 for w_scale (0.18 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

            input_tensor->quantization->scale.clear();
            input_tensor->quantization->zero_point.clear();
            input_tensor->quantization->min.push_back(-1.0);
            input_tensor->quantization->max.push_back(1.0);
    
            auto& output_tensor = sub_graph->tensors[op->outputs[0]];
            auto shape = output_tensor->shape;
            output_tensor->quantization->scale.clear();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/hack/update-codegen.sh

        if [[ "${UPDATE_API_KNOWN_VIOLATIONS:-}" == "true" ]]; then
            update_report="--update-report"
        fi
    fi
    
    kube::codegen::gen_openapi \
        --extra-pkgs k8s.io/api/autoscaling/v1 `# needed for Scale type` \
        --output-dir "${SCRIPT_ROOT}/pkg/generated/openapi" \
        --output-pkg "${THIS_PKG}/pkg/generated/openapi" \
        --report-filename "${report_filename:-"/dev/null"}" \
        ${update_report:+"${update_report}"} \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *Scale) APILifecycleIntroduced() (major, minor int) {
    	return 1, 2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		maxValue = int64(float64(maxValue) * r)
    	}
    
    	_, minUnit := measurement.Scale(minValue, o.SampleUnit, "minimum")
    	_, maxUnit := measurement.Scale(maxValue, o.SampleUnit, "minimum")
    
    	unit := minUnit
    	if minUnit != maxUnit && minValue*100 < maxValue && o.OutputFormat != Callgrind {
    		// Minimum and maximum values have different units. Scale
    		// minimum by 100 to use larger units, allowing minimum value to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    			nodeScore += resourceScore * weight
    			weightSum += weight
    		}
    		if weightSum == 0 {
    			return 0
    		}
    		return nodeScore / weightSum
    	}
    }
    
    // The unused capacity is calculated on a scale of 0-MaxNodeScore
    // 0 being the lowest priority and `MaxNodeScore` being the highest.
    // The more unused resources the higher the score is.
    func leastRequestedScore(requested, capacity int64) int64 {
    	if capacity == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		q3.SetScaled(item.value, item.scale)
    		if q.Cmp(*q3) != 0 {
    			t.Errorf("Expected %v and %v to be equal", q, q3)
    		}
    	}
    }
    
    func TestScaledValue(t *testing.T) {
    	table := []struct {
    		fromScale Scale
    		toScale   Scale
    		expected  int64
    	}{
    		{Nano, Nano, 1},
    		{Nano, Micro, 1},
    		{Nano, Milli, 1},
    		{Nano, 0, 1},
    		{Micro, Nano, 1000},
    		{Micro, Micro, 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/svg.go

    			svg[loc[1]:]
    	}
    
    	if loc := graphID.FindStringIndex(svg); loc != nil {
    		svg = svg[:loc[0]] +
    			`<script type="text/ecmascript"><![CDATA[` + svgpan.JSSource + `]]></script>` +
    			`<g id="viewport" transform="scale(0.5,0.5) translate(0,0)">` +
    			svg[loc[0]:]
    	}
    
    	if loc := svgClose.FindStringIndex(svg); loc != nil {
    		svg = svg[:loc[0]] +
    			`</g>` +
    			svg[loc[0]:]
    	}
    
    	return svg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/vdso_freebsd.go

    		gen := atomic.Load(&th.gen) // atomic_load_acq_32
    		bt = th.offset
    
    		if tc, ok := th.getTimecounter(); !ok {
    			return zeroBintime
    		} else {
    			delta := (tc - th.offset_count) & th.counter_mask
    			bt.AddX(th.scale * uint64(delta))
    		}
    		if abs {
    			bt.Add(&th.boottime)
    		}
    
    		atomic.Load(&binuptimeDummy) // atomic_thread_fence_acq()
    		if curr == timekeepSharedPage.current && gen != 0 && gen == th.gen {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. pkg/ctrlz/assets/templates/layouts/base.html

    <html lang="en" itemscope itemtype="https://schema.org/WebPage">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            <meta name="theme-color" content="#466BB0"/>
            <meta name="title" content="ControlZ / {{template "title" .}}">
    
            <title>ControlZ / {{template "title" .}}</title>
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. pkg/apis/extensions/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.Scale)(nil), (*autoscaling.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_Scale_To_autoscaling_Scale(a.(*v1beta1.Scale), b.(*autoscaling.Scale), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*autoscaling.Scale)(nil), (*v1beta1.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 95.7K bytes
    - Viewed (0)
Back to top