- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 156 for data_type_ (0.24 sec)
-
tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h
llvm::ArrayRef<llvm::StringRef> input_names; llvm::ArrayRef< std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>> input_specs; llvm::ArrayRef<llvm::StringRef> input_devices; // The following are metadata for outputs. llvm::ArrayRef<llvm::StringRef> output_names; llvm::ArrayRef< std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>> output_specs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 27 17:42:41 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
} Status TapeOperation::SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) { forward_op_.attrs.Set(attr_name, gtl::ArraySlice<const DataType>(values, num_values)); return parent_op_->SetAttrTypeList(attr_name, values, num_values); } Status TapeOperation::SetAttrBoolList(const char* attr_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 06:16:45 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
public: explicit MlirTensor(Value value) : TracingTensorHandle(kMlir), value_(value) {} tensorflow::DataType DataType() const override { tensorflow::DataType type; Status s = ConvertToDataType(value_.getType(), &type); if (!s.ok()) { return tensorflow::DT_INVALID; } return type; } tensorflow::Status Shape(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/c/tf_tensor_internal.h
static TensorBuffer* Buffer(const Tensor& tensor) { return tensor.buf_; } static Tensor MakeTensor(TF_DataType type, const TensorShape& shape, TensorBuffer* buf) { return Tensor(static_cast<DataType>(type), shape, buf); } }; // Allocates tensor data buffer using specified allocator. // `operation` is a name for this operation. void* allocate_tensor(const char* operation, size_t len, Allocator* allocator);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 24 20:38:55 UTC 2023 - 4.6K bytes - Viewed (0) -
migrator/migrator.go
func (m Migrator) DataTypeOf(field *schema.Field) string { fieldValue := reflect.New(field.IndirectFieldType) if dataTyper, ok := fieldValue.Interface().(GormDataTypeInterface); ok { if dataType := dataTyper.GormDBDataType(m.DB, field); dataType != "" { return dataType } } return m.Dialector.DataTypeOf(field) } // FullDataTypeOf returns field's db full data type
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
tensorflow/c/tf_tensor.cc
std::vector<int64_t> dimvec(num_dims); for (int i = 0; i < num_dims; ++i) { dimvec[i] = static_cast<int64_t>(dims[i]); } Tensor ret(static_cast<tensorflow::DataType>(dtype), tensorflow::TensorShape(dimvec), buf); buf->Unref(); size_t elem_size = TF_DataTypeSize(dtype); if (elem_size > 0 && len < (elem_size * ret.NumElements())) { return nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
Status DemangleTensor(absl::string_view str, TensorProto* proto) { return ParseTextProto(str, kTensorPrefix, proto); } string MangleDataType(const DataType& dtype) { return absl::StrCat(kDataTypePrefix, DataType_Name(dtype)); } Status DemangleDataType(absl::string_view str, DataType* proto) { absl::string_view pbtxt; TF_RETURN_IF_ERROR(ConsumePrefix(str, kDataTypePrefix, &pbtxt)); if (!DataType_Parse(string(pbtxt), proto)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
Type TensorFlowExecutorDialect::parseType(DialectAsmParser &parser) const { StringRef data_type; if (parser.parseKeyword(&data_type)) return Type(); if (data_type == "control") return ControlType::get(getContext()); if (data_type == "token") return TokenType::get(getContext()); parser.emitError(parser.getNameLoc()) << "unknown tf_executor type: " << data_type; return nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/serialization/SchemaSerialization.kt
import org.gradle.declarative.dsl.schema.DataClass import org.gradle.declarative.dsl.schema.DataParameter import org.gradle.declarative.dsl.schema.DataProperty import org.gradle.declarative.dsl.schema.DataType import org.gradle.declarative.dsl.schema.DataTypeRef import org.gradle.declarative.dsl.schema.FqName import org.gradle.declarative.dsl.schema.FunctionSemantics import org.gradle.declarative.dsl.schema.ParameterSemantics
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:03 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyAccessResolver.kt
package org.gradle.internal.declarativedsl.analysis import org.gradle.declarative.dsl.schema.DataClass import org.gradle.declarative.dsl.schema.DataProperty import org.gradle.declarative.dsl.schema.DataType import org.gradle.declarative.dsl.schema.FqName import org.gradle.internal.declarativedsl.language.AccessChain import org.gradle.internal.declarativedsl.language.LanguageTreeElement import org.gradle.internal.declarativedsl.language.LocalValue
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 8.7K bytes - Viewed (0)