Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for DataType (0.19 sec)

  1. tensorflow/c/eager/gradients_internal.h

                        ForwardOperation*);
    Status SetAttrBool(AbstractOperation*, const char* attr_name, bool value,
                       ForwardOperation*);
    Status SetAttrType(AbstractOperation*, const char* attr_name, DataType value,
                       ForwardOperation*);
    Status SetAttrShape(AbstractOperation*, const char* attr_name,
                        const int64_t* dims, const int num_dims, ForwardOperation*);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros.h

    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    #endif  // TF_CAPI_WEAK
    #endif  // _WIN32
    #endif  // SWIG
    
    // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
    // the datatype for boolean tensors.
    #ifndef TF_Bool
    #define TF_Bool unsigned char
    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  3. tensorflow/c/c_test.c

    #include "tensorflow/c/kernels.h"
    
    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_internal.h

    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

                        TF_DataType value) {
      desc->node_builder.Attr(attr_name, static_cast<DataType>(value));
    }
    
    void TF_SetAttrTypeList(TF_OperationDescription* desc, const char* attr_name,
                            const TF_DataType* values, int num_values) {
      desc->node_builder.Attr(
          attr_name, ArraySlice<const DataType>(
                         reinterpret_cast<const DataType*>(values), num_values));
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. gorm.go

    	for _, ref := range relation.References {
    		f := joinSchema.LookUpField(ref.ForeignKey.DBName)
    		if f == nil {
    			return fmt.Errorf("missing field %s for join table", ref.ForeignKey.DBName)
    		}
    
    		f.DataType = ref.ForeignKey.DataType
    		f.GORMDataType = ref.ForeignKey.GORMDataType
    		if f.Size == 0 {
    			f.Size = ref.ForeignKey.Size
    		}
    		ref.ForeignKey = f
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. src/main/webapp/js/search.js

            actionUrl,
            docId;
        if (values.length === 2 && $queryId.length > 0) {
          docId = values[1];
          actionUrl = contextPath + "/api/v1/documents/" + docId + "/favorite";
          $.ajax({
            dataType: "json",
            cache: false,
            type: "post",
            timeoutNumber: 10000,
            url: actionUrl,
            data: {
              queryId: $queryId.val()
            }
          })
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Mar 30 05:45:24 GMT 2023
    - 7.5K bytes
    - Viewed (1)
  8. tensorflow/c/c_test_util.cc

    // one cannot call ASSERT_* methods in non-void-returning functions (when
    // exceptions are disabled during compilation)
    void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name,
                           TF_DataType dtype, const std::vector<int64_t>& dims,
                           TF_Operation** op) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "Placeholder", name);
      TF_SetAttrType(desc, "dtype", dtype);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  9. tensorflow/c/c_test_util.h

    TF_Tensor* DoubleTensor(double v);
    
    TF_Tensor* FloatTensor(float v);
    
    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
                              const std::vector<int64_t>& dims = {});
    
    TF_Operation* Const(TF_Tensor* t, TF_Graph* graph, TF_Status* s,
                        const char* name = "const");
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 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
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
Back to top