Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 185 for data_type_ (0.16 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.h.golden

    //
    Status VarHandleOp(AbstractContext* ctx, AbstractTensorHandle** resource, DataType dtype, const PartialTensorShape shape, const char* container = "", const char* shared_name = "", const char* debug_name = "", absl::Span<string const> allowed_devices = {}, const char* name = nullptr, const char* raw_device_name = nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/eager/c_api_test_util.h

    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    TFE_TensorHandle* TestTensorHandleWithDims(TFE_Context* ctx, const T* data,
                                               const int64_t* dims, int num_dims) {
      TF_Status* status = TF_NewStatus();
      TF_Tensor* t = TFE_AllocateHostTensor(ctx, datatype, dims, num_dims, status);
      memcpy(TF_TensorData(t), data, TF_TensorByteSize(t));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top