Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for Scalar (0.12 sec)

  1. src/crypto/internal/edwards25519/scalar.go

    func (s *Scalar) Add(x, y *Scalar) *Scalar {
    	// s = 1 * x + y mod l
    	fiatScalarAdd(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Subtract sets s = x - y mod l, and returns s.
    func (s *Scalar) Subtract(x, y *Scalar) *Scalar {
    	// s = -1 * y + x mod l
    	fiatScalarSub(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Negate sets s = -x mod l, and returns s.
    func (s *Scalar) Negate(x *Scalar) *Scalar {
    	// s = -1 * x + 0 mod l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/runtime/metrics.go

    // metricValue is a runtime copy of runtime/metrics.Sample and
    // must be kept structurally identical to that type.
    type metricValue struct {
    	kind    metricKind
    	scalar  uint64         // contains scalar values for scalar Kinds.
    	pointer unsafe.Pointer // contains non-scalar values.
    }
    
    // float64HistOrInit tries to pull out an existing float64Histogram
    // from the value, but if none exists, then it allocates one with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

          t.scalar<tensorflow::ResourceHandle>()().set_name("var1");
          t.scalar<tensorflow::ResourceHandle>()().set_device(kDeviceName);
    
          outputs->push_back(t);
        } else if (output_name == "var2") {
          Tensor t = Tensor(tensorflow::DT_RESOURCE, tensorflow::TensorShape({1}));
          t.scalar<tensorflow::ResourceHandle>()().set_name("var2");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

        .Attr("max_percentile: float = 0.0")
        .SetShapeFn([](::tensorflow::shape_inference::InferenceContext* c) {
          c->set_output(0, c->input(0));
          c->set_output(1, c->Scalar());
          c->set_output(2, c->Scalar());
    
          const tensorflow::AttrValue* num_bins_attr;
          TF_RETURN_IF_ERROR(c->GetAttr("num_bins", &num_bins_attr));
          c->set_output(3, c->MakeShape({num_bins_attr->i()}));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p256_asm.go

    	return q.Set(&double)
    }
    
    // ScalarBaseMult sets r = scalar * generator, where scalar is a 32-byte big
    // endian value, and returns r. If scalar is not 32 bytes long, ScalarBaseMult
    // returns an error and the receiver is unchanged.
    func (r *P256Point) ScalarBaseMult(scalar []byte) (*P256Point, error) {
    	if len(scalar) != 32 {
    		return nil, errors.New("invalid scalar length")
    	}
    	scalarReversed := new(p256OrdElement)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. src/internal/trace/value.go

    		panic("Uint64 called on Value of a different Kind")
    	}
    	return v.scalar
    }
    
    // valueAsString produces a debug string value.
    //
    // This isn't just Value.String because we may want to use that to store
    // string values in the future.
    func valueAsString(v Value) string {
    	switch v.Kind() {
    	case ValueUint64:
    		return fmt.Sprintf("Uint64(%d)", v.scalar)
    	}
    	return "Bad"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/v1/defaults_test.go

    					{Name: string(v1.ResourceCPU)},
    					{Name: "scalar.io/scalar0"},
    					{Name: "scalar.io/scalar1", Weight: 1},
    				},
    			},
    			want: &configv1.NodeResourcesBalancedAllocationArgs{
    				Resources: []configv1.ResourceSpec{
    					{Name: string(v1.ResourceCPU), Weight: 1},
    					{Name: "scalar.io/scalar0", Weight: 1},
    					{Name: "scalar.io/scalar1", Weight: 1},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/convert_type.h

    tflite::TensorType ConvertTypeToTensorType(mlir::Type type);
    
    // Convert the scalar type of a TFlite tensor to the corresponding MLIR type.
    mlir::Type ConvertElementType(tflite::TensorType type, mlir::Builder builder);
    
    // Convert the scalar type of a TFLite tensor to the corresponding
    // Tensorflow type
    tensorflow::DataType TflTypeToTfType(tflite::TensorType type);
    
    // Convert the Tensorflow scalar type to the corresponding TFLite type
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. docs/en/data/sponsors.yml

        title: Reflex
        img: https://fastapi.tiangolo.com/img/sponsors/reflex.png
      - url: https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=main-badge
        title: "Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files"
        img: https://fastapi.tiangolo.com/img/sponsors/scalar.svg
      - url: https://www.propelauth.com/?utm_source=fastapi&utm_campaign=1223&utm_medium=mainbadge
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top