- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 121 for data_type_ (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/convert_type.h
namespace tensorflow { 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) -
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) -
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) -
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) -
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) -
tensorflow/c/experimental/saved_model/core/test_utils.h
// of `device_mgr`. EagerContextPtr CreateTestingEagerContext(DeviceMgr* device_mgr); // Converts a tensorflow::DatatypeSet to std::vector<DataType>. // This is useful for tests using GTest's ::testing::ValuesIn, since // DataTypeSet doesn't fullfill all the constraints of an STL-like iterable. std::vector<DataType> DataTypeSetToVector(DataTypeSet set); // Returns a vector of shapes intended to be "interesting" test cases.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/test_utils.cc
/* async= */ false, device_mgr, /* device_mgr_owned= */ false, /* rendezvous= */ nullptr, /* cluster_flr= */ nullptr)); } std::vector<DataType> DataTypeSetToVector(DataTypeSet set) { std::vector<DataType> result; result.reserve(set.size()); for (DataType dt : set) { result.push_back(dt); } return result; } std::vector<std::vector<int64_t>> InterestingShapes() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type_test.cc
DataType::DT_INT32)); // Partially known shapes. EXPECT_EQ("tensor<?x27x?xbf16>", ConvertToMlirString({-1, 27, -1}, /*unknown_rank=*/false, DataType::DT_BFLOAT16)); // Unranked shapes. EXPECT_EQ("tensor<*xf32>", ConvertToMlirString({}, /*unknown_rank=*/true, DataType::DT_FLOAT)); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.2K bytes - Viewed (0) -
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) -
tensorflow/c/experimental/saved_model/core/revived_types/variable.h
static Status CreateUninitialized( ImmediateExecutionContext* ctx, DataType dtype, TensorShape shape, absl::optional<std::string> name, const char* raw_device_name, const std::vector<std::string>& component_devices, std::unique_ptr<Variable>* output); // The dtype of the underlying variable. DataType dtype(); // The shape of the underlying variable. TensorShape shape();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 2.8K bytes - Viewed (0)