Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 184 for Scalar (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_type.h

    using tsl::StatusOr;
    
    // Converts the TensorFlow DataType 'dtype' into an MLIR (scalar) type.
    Status ConvertDataType(DataType dtype, mlir::Builder builder, mlir::Type* type);
    
    // Converts a scalar MLIR type to a TensorFlow Datatype.
    Status ConvertScalarTypeToDataType(mlir::Type type, DataType* dtype);
    
    // Converts an MLIR type to TensorFlow DataType. If 'type' is a scalar type, it
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

      // CHECK-NEXT:     [[SUB:%.*]] = tfl.sub %{{.*}}, %{{.*}} {fused_activation_function = "RELU6"} : tensor<3x2xi32>
      // CHECK-NEXT:     [[SCALAR:%.*]] = "tfl.pseudo_const"() <{value = dense<10> : tensor<i32>}> : () -> tensor<i32>
      // CHECK-NEXT:     [[ADD:%.*]] = tfl.add([[SCALAR]], [[SUB]]) {fused_activation_function = "NONE"} : (tensor<i32>, tensor<3x2xi32>) -> tensor<3x2xi32>
      // CHECK-NEXT:     return [[ADD]] : tensor<3x2xi32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker.cc

      int num_dims_out = TF_NumDims(model_out_tensor);
      TF_DeleteTensor(model_out_tensor);
    
      // If the output is a scalar, then return the scalar output
      if (num_dims_out == 0) {
        outputs[0] = model_out.release();
        return absl::OkStatus();
      }
    
      // Else, reduce sum the output to get a scalar
    
      // Will sum all dimensions, so get a Tensor containing [0,...,num_dims_out-1].
      AbstractTensorHandlePtr sum_dims;
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/overrides/main.html

        </div>
        <div class="item">
          <a title="Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files" style="display: block; position: relative;" href="https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=top-banner" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/scalar-banner.svg" />
          </a>
        </div>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p256.go

    	})
    	return p256GeneratorTable
    }
    
    // ScalarBaseMult sets p = scalar * B, where B is the canonical generator, and
    // returns p.
    func (p *P256Point) ScalarBaseMult(scalar []byte) (*P256Point, error) {
    	if len(scalar) != p256ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go

    	// be a scalar typed field of the child structure (no nesting is supported).
    	XListMapKeys []string
    
    	// x-kubernetes-list-type annotates a list to further describe its topology.
    	// This extension must only be used on lists and may have 3 possible values:
    	//
    	// 1) `atomic`: the list is treated as a single entity, like a scalar.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

            - 2
            - 3
      - description: patch with different scalar type
        original:
          foo: 1
        modified:
          foo: true
        current:
          foo: 1
          bar: 2
        threeWay:
          foo: true
        result:
          foo: true
          bar: 2
      - description: patch from scalar to list
        original:
          foo: 0
        modified:
          foo:
          - 1
          - 2
        current:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        if (mlir::isa<ComplexType>(element_type) ||
            mlir::isa<quant::QuantizedType>(element_type)) {
          return;
        }
        op_builder->setInsertionPoint(const_op);
        Value scalar = op_builder->create<mhlo::ConstantOp>(
            const_op->getLoc(),
            DenseElementsAttr::get(
                RankedTensorType::get(/*shape=*/{}, element_type),
                splat_elements_attr.getSplatValue<Attribute>()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256_ordinv.go

    //
    //go:noescape
    func p256OrdSqr(res, in *p256OrdElement, n int)
    
    func P256OrdInverse(k []byte) ([]byte, error) {
    	if len(k) != 32 {
    		return nil, errors.New("invalid scalar length")
    	}
    
    	x := new(p256OrdElement)
    	p256OrdBigToLittle(x, (*[32]byte)(k))
    	p256OrdReduce(x)
    
    	// Inversion is implemented as exponentiation by n - 2, per Fermat's little theorem.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    cond: A Tensor. If the tensor is a scalar of non-boolean type, the
        scalar is converted to a boolean according to the
        following rule: if the scalar is a numerical value, non-zero means
        True and zero means False; if the scalar is a string, non-empty
        means True and empty means False. If the tensor is not a scalar,
        being empty means False and being non-empty means True.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
Back to top