Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for x_scale (0.12 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/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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      }
    
      // Check output shape for non-batch dimension, following documentation below.
      // https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/batch-mat-mul
      int64_t x_row_dim = x_shape[x_shape.size() - 2];
      int64_t x_col_dim = x_shape[x_shape.size() - 1];
      int64_t y_row_dim = y_shape[y_shape.size() - 2];
      int64_t y_col_dim = y_shape[y_shape.size() - 1];
      int64_t out_row_dim = output_shape[output_shape.size() - 2];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/validation/validation_test.go

    	for _, successCase := range successCases {
    		if errs := ValidateScale(&successCase); len(errs) != 0 {
    			t.Errorf("expected success: %v", errs)
    		}
    	}
    
    	errorCases := []struct {
    		scale autoscaling.Scale
    		msg   string
    	}{{
    		scale: autoscaling.Scale{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "frontend",
    				Namespace: metav1.NamespaceDefault,
    			},
    			Spec: autoscaling.ScaleSpec{
    				Replicas: -1,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

            auto shape = GetAsVector(quant_tensor->shape());
            if (kUseUpdatedHybridSchemeDefault) {
              EXPECT_EQ(quant_tensor->quantization()->scale()->size(), shape[0]);
            } else {
              EXPECT_EQ(quant_tensor->quantization()->scale()->size(), 1);
            }
          } else {
            EXPECT_EQ(quant_tensor->type(), TensorType_FLOAT32);
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/opGen.go

    		argLen:         2,
    		hasSideEffects: true,
    		generic:        true,
    	},
    }
    
    func (o Op) Asm() obj.As          { return opcodeTable[o].asm }
    func (o Op) Scale() int16         { return int16(opcodeTable[o].scale) }
    func (o Op) String() string       { return opcodeTable[o].name }
    func (o Op) SymEffect() SymEffect { return opcodeTable[o].symEffect }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__apps__v1_openapi.json

                "type": "string"
              },
              "replicas": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 810.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental.cc

    }
    
    TFE_MonitoringBuckets* TFE_MonitoringNewExponentialBuckets(double scale,
                                                               double growth_factor,
                                                               int bucket_count) {
      return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() {
        return tensorflow::monitoring::Buckets::Exponential(scale, growth_factor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top