Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 420 for Ntype (0.06 sec)

  1. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/generatorUtils.kt

    import kotlin.reflect.KClass
    import kotlin.reflect.KType
    
    internal fun SmartPrinter.printTypeWithShortNames(type: KType, shouldRenderFqName: (KType) -> Boolean = { false }) {
        fun typeConversion(type: KType): String {
            val nullableSuffix = if (type.isMarkedNullable) "?" else ""
            val simpleName = if (shouldRenderFqName(type)) {
                type.qualifiedName
            } else {
                type.simpleName
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jul 18 11:49:20 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/base/tests/tensor_test.cc

      Tensor tensor = Tensor::FromBuffer(
          /*dtype=*/dtype, /*shape=*/shape,
          /*data=*/value.data(),
          /*len=*/value.size() * sizeof(typename TypeParam::type),
          /*deleter=*/[](void*, size_t) {}, &status);
      ASSERT_TRUE(status.ok()) << status.message();
    
      EXPECT_EQ(tensor.dims(), 1);
      EXPECT_EQ(tensor.dtype(), dtype);
      absl::Span<const typename TypeParam::type> tensor_view(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/dlpack.cc

      owner->reference.Unref();
      delete owner;
    }
    
    // Converts TF_DATAType to DLPack data type.
    DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) {
      DLDataType dtype;
      dtype.lanes = 1;
      dtype.bits = TF_DataTypeSize(data_type) * 8;
      switch (data_type) {
        case TF_DataType::TF_BOOL:
          dtype.code = DLDataTypeCode::kDLBool;
          break;
        case TF_DataType::TF_HALF:
        case TF_DataType::TF_FLOAT:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/ConfigureLambdaHandler.kt

        override fun getTypeConfiguredByLambda(type: KType): KType? = if (isConfigureLambdaType(type)) type.arguments[0].type else null
        override fun isConfigureLambdaForType(configuredType: KType, maybeLambdaType: KType): Boolean = isConfigureLambdaType(maybeLambdaType, configuredType)
        override fun produceValueCaptor(lambdaType: KType): ConfigureLambdaHandler.ValueCaptor {
            lateinit var value: Any
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

    // 1. does not cause an error
    // 2. preserves dtype and shape.
    TEST_P(SavedVariableLoadingTest, LoadSavedVariableSuccessful) {
      auto& test_params = GetParam();
      DataType dtype = std::get<0>(test_params);
      TensorShape shape(std::get<1>(test_params));
    
      SavedVariable saved_variable;
      saved_variable.set_dtype(dtype);
      shape.AsProto(saved_variable.mutable_shape());
    
      std::unique_ptr<Variable> var;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

          T41, T42, T43, T44, T45, T46, T47, T48, T49> type;
    };
    
    namespace internal {
    
    # define GTEST_TEMPLATE_ template <typename T> class
    
    // The template "selector" struct TemplateSel<Tmpl> is used to
    // represent Tmpl, which must be a class template with one type
    // parameter, as a type.  TemplateSel<Tmpl>::Bind<T>::type is defined
    // as the type Tmpl<T>.  This allows us to actually instantiate the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 181.3K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

          T41, T42, T43, T44, T45, T46, T47, T48, T49> type;
    };
    
    namespace internal {
    
    # define GTEST_TEMPLATE_ template <typename T> class
    
    // The template "selector" struct TemplateSel<Tmpl> is used to
    // represent Tmpl, which must be a class template with one type
    // parameter, as a type.  TemplateSel<Tmpl>::Bind<T>::type is defined
    // as the type Tmpl<T>.  This allows us to actually instantiate the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc

                                               DataType dtype, TensorShape shape,
                                               const char* raw_device_name,
                                               ImmediateTensorHandlePtr* handle) {
      ImmediateOpPtr varhandle_op(ctx->CreateOperation());
    
      TF_RETURN_IF_ERROR(varhandle_op->Reset("VarHandleOp", raw_device_name));
      TF_RETURN_IF_ERROR(varhandle_op->SetAttrType("dtype", dtype));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 11:28:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. test/fixedbugs/issue9604b.go

    	_type{"int16", 16, true},
    	_type{"uint16", 16, false},
    	_type{"int32", 32, true},
    	_type{"uint32", 32, false},
    	_type{"int64", 64, true},
    	_type{"uint64", 64, false},
    	_type{"int", 8 * uint(unsafe.Sizeof(int(0))), true},
    	_type{"uint", 8 * uint(unsafe.Sizeof(uint(0))), false},
    	_type{"uintptr", 8 * uint(unsafe.Sizeof((*byte)(nil))), false},
    }
    
    type binop struct {
    	name string
    	eval func(x, y *big.Int) *big.Int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. pkg/util/pod/pod_test.go

    				{
    					Type:   cType,
    					Status: v1.ConditionTrue,
    				},
    			},
    		},
    		{
    			description: "replace",
    			conditions: []v1.PodCondition{
    				{
    					Type:   cType,
    					Status: v1.ConditionTrue,
    				},
    			},
    			condition: v1.PodCondition{
    				Type:   cType,
    				Status: v1.ConditionFalse,
    			},
    			wantConditions: []v1.PodCondition{
    				{
    					Type:   cType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 4.5K bytes
    - Viewed (0)
Back to top