Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for data_type_ (0.17 sec)

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

                val fqn = when (val ref = function.dataClass) {
                    is DataTypeRef.Name -> ref.fqName.toString()
                    is DataTypeRef.Type -> (ref.dataType as? DataClass)?.name?.qualifiedName
                        ?: ref.dataType.toString()
                }
                append(fqn)
                append(".")
            }
            append(function.simpleName)
            append("#")
            append(invocationId)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. schema/relationship.go

    				relation.FieldSchema, schema, field.Name)
    			return
    		}
    
    		// use same data type for foreign keys
    		if copyableDataType(primaryKeyField.DataType) {
    			relation.Polymorphic.PolymorphicID.DataType = primaryKeyField.DataType
    		}
    		relation.Polymorphic.PolymorphicID.GORMDataType = primaryKeyField.GORMDataType
    		if relation.Polymorphic.PolymorphicID.Size == 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/DefaultAnalysisSchema.kt

        data class DefaultType(override val dataType: DataType) : DataTypeRef.Type {
            override fun toString(): String = dataType.toString()
        }
    
        @Serializable
        @SerialName("dataTypeRefName")
        data class DefaultName(override val fqName: FqName) : DataTypeRef.Name {
            override fun toString(): String = fqName.simpleName
        }
    }
    
    
    val DataType.ref: DataTypeRef
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top