Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 126 for data_type_ (0.14 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/DataTypeInternal.kt

    import kotlinx.serialization.SerialName
    import kotlinx.serialization.Serializable
    import org.gradle.declarative.dsl.schema.DataType
    
    
    object DataTypeInternal {
    
        @Serializable
        @SerialName("int")
        data object DefaultIntDataType : DataType.IntDataType {
            override val constantType: Class<Int> = Int::class.java
            override fun toString(): String = "Int"
            private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/LanguageTree.kt

    
    sealed interface Literal<T : Any> : Expr {
        val value: T
        val type: DataType.ConstantType<T>
    
        data class StringLiteral(
            override val value: String,
            override val sourceData: SourceData
        ) : Literal<String> {
            override val type: DataType.StringDataType
                get() = DataTypeInternal.DefaultStringDataType
        }
    
        data class IntLiteral(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DocumentResolution.kt

                val elementType: DataType
    
                data class ConfiguringElementResolved(
                    override val elementType: DataClass
                ) : SuccessfulElementResolution
    
                data class ContainerElementResolved(
                    override val elementType: DataType,
                    val elementFactoryFunction: SchemaMemberFunction,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.def"
    
        default:
          return errors::Unimplemented(absl::StrCat(
              "Converting DataType '", DataTypeString(dtype), "' to MLIR Type"));
      }
    }
    
    Status ConvertScalarTypeToDataType(Type type, DataType* dtype) {
      if (type.isF16()) {
        *dtype = DT_HALF;
        return absl::OkStatus();
      } else if (type.isF32()) {
        *dtype = DT_FLOAT;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

    }
    
    
    class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext {
        override fun resolveRef(dataTypeRef: DataTypeRef): DataType = when (dataTypeRef) {
            is DataTypeRef.Name -> schema.dataClassesByFqName.getValue(dataTypeRef.fqName)
            is DataTypeRef.Type -> dataTypeRef.dataType
        }
    }
    
    
    /**
     * Represents a unique operation within a particular generation.  The invocation id should be unique within a single
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    
    namespace tensorflow {
    namespace {
    
    class SavedVariableLoadingTest
        : public ::testing::TestWithParam<
              std::tuple<DataType, std::vector<int64_t>>> {
     public:
      SavedVariableLoadingTest() {
        SessionOptions options;
        options.config.mutable_device_count()->insert({"CPU", 3});
        std::vector<std::unique_ptr<Device>> devices;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt

            val error = result.errors.singleOrNull()
            assertNotNull(error)
            val reason = error.errorReason
            assertIs<ErrorReason.AssignmentTypeMismatch>(reason)
            assertIs<DataType.StringDataType>(reason.expected)
            assertIs<DataType.IntDataType>(reason.actual)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/resolution.kt

        data class ValReassignment(val localVal: LocalValue) : ErrorReason
        data class ExternalReassignment(val external: ObjectOrigin.External) : ErrorReason
        data class AssignmentTypeMismatch(val expected: DataType, val actual: DataType) : ErrorReason
    
        // TODO: these two are never reported for now, instead it is UnresolvedFunctionCallSignature
        data object UnusedConfigureLambda : ErrorReason
        data object MissingConfigureLambda : ErrorReason
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

              hoisted_read(nullptr),
              data_type(nullptr),
              result_index(-1) {}
    
        bool IsResultIndexAssigned() { return result_index != -1; }
    
        // Refine the resource type using the given type `type`.
        void RefineType(Type type) {
          if (!data_type) {
            data_type = type;
          } else {
            data_type = TF::GetCastCompatibleType(data_type, type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

              {{"outside_compilation_O1_host_compute"},
               "XlaHostCompute",
               {"C:o:0", "c:o:0"},
               {{"Tinputs", absl::Span<const DataType>({DT_FLOAT, DT_FLOAT})},
                {"Toutputs", absl::Span<const DataType>({DT_FLOAT})},
                {"ancestors", absl::Span<const string>({})},
                {"key", "host_compute_channel_F1_F1_O1"},
                {"send_key", ""},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
Back to top