Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for twofold (0.09 sec)

  1. src/cmd/go/internal/str/str.go

    		}
    	}
    	return x
    }
    
    // ToFold returns a string with the property that
    //
    //	strings.EqualFold(s, t) iff ToFold(s) == ToFold(t)
    //
    // This lets us test a large set of strings for fold-equivalent
    // duplicates without making a quadratic number of calls
    // to EqualFold. Note that strings.ToUpper and strings.ToLower
    // do not have the desired property in some corner cases.
    func ToFold(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_to_nhwc.mlir

      // Shuffled paddings.
      // CHECK: %[[PADDINGS:.*]] = "tf.Const"(){{.*}}[0, 0], [3, 3], [3, 3], [0, 0]
      // NOFOLD: %[[PADDING:.*]] = "tf.Const"(){{.*}}[0, 0], [0, 0], [3, 3], [3, 3]
      // NOFOLD: %[[CST:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi32>}> : () -> tensor<4xi32>
      // NOFOLD: %[[TRANSPOSE:[0-9]*]] = "tf.Transpose"(%arg0, %[[CST]]) : (tensor<?x224x224x3xf32>, tensor<4xi32>) -> tensor<?x3x224x224xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_move_transposes_end.mlir

      // CHECK: return %[[MEAN]]
    
      // NOFOLD: %[[CST:.*]] = "tf.Const"() <{value = dense<[0, 2, 3, 1]> : tensor<4xi32>}>
      // NOFOLD: %[[TRANSPOSE:[0-9]*]] = "tf.Transpose"(%arg0, %[[CST]])
      // NOFOLD: %[[CST_1:.*]] = "tf.Const"() <{value = dense<[1, 2]> : tensor<2xi32>}>
      // NOFOLD: %[[MEAN:[0-9]*]] = "tf.Mean"(%[[TRANSPOSE]], %[[CST_1]])
      // NOFOLD-SAME: (tensor<1x112x112x64xf32>, tensor<2xi32>) -> tensor<1x64xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    )
    
    // time and date handling
    
    var distantPast = 21 * 24 * time.Hour
    
    // reports that are too old (21 days) are not uploaded
    func (u *uploader) tooOld(date string, uploadStartTime time.Time) bool {
    	t, err := time.Parse("2006-01-02", date)
    	if err != nil {
    		u.logger.Printf("tooOld: %v", err)
    		return false
    	}
    	age := uploadStartTime.Sub(t)
    	return age > distantPast
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top