Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for arity (0.11 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

        override val isReflectType: Boolean
            get() = withValidityAssertion { descriptor.functionTypeKind.isReflectType }
    
        override val arity: Int
            get() = withValidityAssertion { descriptor.arity }
    
        override val hasContextReceivers: Boolean
            get() = withValidityAssertion { fe10Type.contextFunctionTypeParamsCount() > 0 }
    
        @OptIn(KaAnalysisApiInternals::class)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/internal/trace/internal/testgen/go122/trace.go

    		},
    	})
    }
    
    func (t *Trace) createEvent(ev event.Type, data []byte, args ...uint64) raw.Event {
    	spec := t.specs[ev]
    	if ev != go122.EvStack {
    		if arity := len(spec.Args); len(args) != arity {
    			panic(fmt.Sprintf("expected %d args for %s, got %d", arity, spec.Name, len(args)))
    		}
    	}
    	return raw.Event{
    		Version: version.Go122,
    		Ev:      ev,
    		Args:    args,
    		Data:    data,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt

        override val isReflectType: Boolean
            get() = withValidityAssertion { coneType.functionTypeKind(builder.rootSession)?.isReflectType == true }
    
        override val arity: Int get() = withValidityAssertion { parameterTypes.size }
    
        @OptIn(KaAnalysisApiInternals::class)
        override val contextReceivers: List<KaContextReceiver> by cached {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

    public abstract class KaFunctionalType : KaNonErrorClassType(), KaContextReceiversOwner {
        public abstract val isSuspend: Boolean
        public abstract val isReflectType: Boolean
        public abstract val arity: Int
        public abstract val hasContextReceivers: Boolean
        public abstract val receiverType: KaType?
        public abstract val hasReceiver: Boolean
        public abstract val parameterTypes: List<KaType>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

      %cst = arith.constant dense<[1, 0]> : tensor<2xi32>
      %cst_0 = arith.constant dense<0> : tensor<i32>
      %cst_1 = arith.constant dense<-1> : tensor<i32>
      %cst_2 = arith.constant dense<1> : tensor<i32>
      %0 = "tf.AddV2"(%arg2, %cst_2) {T = i32, device = ""} : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/push-tpose-through-ewise.mlir

      %perm = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
      %0 = "tfl.transpose"(%arg0, %perm) : (tensor<2x3x4x5xf32>, tensor<4xi32>) -> tensor<5x2x3x4xf32>
      %cst = arith.constant dense<1.0> : tensor<5x2x3x4xf32>
      %1 = tfl.add %0, %cst { fused_activation_function = "NONE" } : tensor<5x2x3x4xf32>
      func.return %1 : tensor<5x2x3x4xf32>
    }
    
    // CHECK: %cst = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/optimize_no_verify.mlir

    // CHECK-LABEL: fuseScalarAddIntoConv2dHalf
    func.func @fuseScalarAddIntoConv2dHalf(%arg0: tensor<256x32x32x3xf16>, %arg1: tensor<16x3x3x3xf16>) -> tensor<256x8x7x16xf16> {
      %cst = arith.constant dense<1.5> : tensor<f16>
      %cst_0 = arith.constant dense<[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0]> : tensor<16xf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

    #include "tensorflow/compiler/mlir/lite/utils/constant_utils.h"
    
    #include <complex>
    #include <cstdint>
    #include <string>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributeInterfaces.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

    // -----
    
    // Test for case with import and find ops.
    func.func @hashtable_import_then_find(%arg0: tensor<5x!tf_type.string>) -> tensor<*xi64> {
      %cst = arith.constant dense<["emerson", "lake", "palmer"]> : tensor<3x!tf_type.string>
      %cst_0 = arith.constant dense<-1> : tensor<i64>
      %cst_1 = arith.constant dense<[0, 1, 2]> : tensor<3xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/optimize_batch_matmul.mlir

      %0 = arith.constant dense<[[1.0], [2.0]]> : tensor<2x1xf32>
      %1 = "tfl.batch_matmul"(%arg0, %0) {adj_x = false, adj_y = false, asymmetric_quantize_inputs = false} : (tensor<4x128x2xf32>, tensor<2x1xf32>) -> tensor<4x128x1xf32>
      func.return %1 : tensor<4x128x1xf32>
      // CHECK-NEXT: %[[CONST_WEIGHT:.*]] = arith.constant
      // CHECK-SAME: [1.000000e+00, 2.000000e+00]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top