Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 111 for hashtable (0.21 sec)

  1. tests/migrate_test.go

    			hasTable := false
    			for _, t2 := range tables {
    				if t2 == t1 {
    					hasTable = true
    					break
    				}
    			}
    			if !hasTable {
    				t.Fatalf("Failed to get table %v when GetTables", t1)
    			}
    		}
    	}
    
    	for _, m := range allModels {
    		if !DB.Migrator().HasTable(m) {
    			t.Fatalf("Failed to create table for %#v", m)
    		}
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. migrator.go

    	CurrentDatabase() string
    	FullDataTypeOf(*schema.Field) clause.Expr
    	GetTypeAliases(databaseTypeName string) []string
    
    	// Tables
    	CreateTable(dst ...interface{}) error
    	DropTable(dst ...interface{}) error
    	HasTable(dst interface{}) bool
    	RenameTable(oldName, newName interface{}) error
    	GetTables() (tableList []string, err error)
    	TableType(dst interface{}) (TableType, error)
    
    	// Columns
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/impl/tensor_spec.h

      tensorflow::DataType dtype;
    
      bool operator==(const TensorSpec& o) const {
        return dtype == o.dtype && shape.IsIdenticalTo(o.shape);
      }
    
      /// Overload AbslHashValue to make TensorSpec hashable.
      template <typename H>
      friend H AbslHashValue(H h, const TensorSpec& t) {
        return H::combine(std::move(h), t.shape.DebugString(), t.dtype);
      }
    };
    
    // Defined in `iostream.cc`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 09 21:11:15 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

      %default = "tf.Const"() {value = dense<-1> : tensor<i64>} : () -> tensor<i64>
      %handle = "tf.HashTableV2"() {container = "", device = "/job:localhost/replica:0/task:0/device:CPU:0", key_dtype = !tf_type.string, shared_name = "hash_table", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/value.h

    // Declare hash types so they can be instantiated below.
    
    /// @brief TaggedValue hashing infrastructure, which uses absl::hash.
    ///
    /// Hashable TaggedValues overload `AbslHashValue`. Non-hashable structures
    /// return 0.
    template <>
    struct TaggedValueHash<TaggedValue> {
      size_t operator()(const TaggedValue& v) const;
    };
    
    /// @brief Hash implementation for TaggedValue Tuples.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. RELEASE.md

    *   Fixes a division by zero in TFLite's implementation of `DepthwiseConv`
        ([CVE-2021-29602](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29602))
    *   Fixes a division by zero in TFLite's implementation of hashtable lookup
        ([CVE-2021-29604](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29604))
    *   Fixes a integer overflow in TFLite concatentation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  7. tests/tests_test.go

    	}
    
    	if err = DB.AutoMigrate(allModels...); err != nil {
    		log.Printf("Failed to auto migrate, but got error %v\n", err)
    		os.Exit(1)
    	}
    
    	for _, m := range allModels {
    		if !DB.Migrator().HasTable(m) {
    			log.Printf("Failed to create table for %#v\n", m)
    			os.Exit(1)
    		}
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    				sigTParams: tparams,
    			}
    		}
    
    		for i := 0; i < tparams.Len(); i++ {
    			tparam := tparams.At(i)
    			hash += 7 * h.Hash(tparam.Constraint())
    		}
    
    		return hash + 3*h.hashTuple(t.Params()) + 5*h.hashTuple(t.Results())
    
    	case *types.Union:
    		return h.hashUnion(t)
    
    	case *types.Interface:
    		// Interfaces are identical if they have the same set of methods, with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

      func.return %1 : tensor<i32>
    }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
    // Test sinks in HashTableV2 op to batch function.
    
    // CHECK-LABEL: func private @batched_function
    func.func private @batched_function(%arg0: tensor<1xi32>, %arg1: tensor<*x!tf_type.resource>) -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

      // CHECK-NOT: tf.HashTableV2
      // CHECK-NOT: tf.LookupTableSizeV2
      // CHECK: [[v:%.*]]:2 = "tf._TfrtGetResource"() <{container = ["", ""], indices = [0, 1], shared_name = [{{.*}}, {{.*}}]}> {device = "/job:localhost/replica:0/task:0/device:CPU:0"}
      // CHECK: [[r:%.*]] = "tf.LookupTableFindV2"([[v]]#[[handle_idx]]
      // CHECK: return [[v]]#[[size_idx]], [[r]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top