Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for x6val (0.03 sec)

  1. utils/utils.go

    }
    
    func AssertEqual(x, y interface{}) bool {
    	if reflect.DeepEqual(x, y) {
    		return true
    	}
    	if x == nil || y == nil {
    		return false
    	}
    
    	xval := reflect.ValueOf(x)
    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/make_test_graphs.py

      y = variables.Variable(1.0, name='y')
      updates = control_flow_ops.no_op()
      for _ in range(3):
        with ops.control_dependencies([updates]):
          x_val = x.read_value() + y
          updates = x.assign_sub(0.1 * x_val)
    
      array_ops.identity(updates, name='result')
    
    
    def write_graph(build_graph, out_dir):
      """Build a graph using build_graph and write it out."""
      g = ops.Graph()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top