Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 766 for casts (0.06 sec)

  1. RELEASE.md

    *   `tf.nn.embedding_lookup_sparse`
    
        *   Optimized this function for some cases by fusing internal operations.
    
    *   `tf.saved_model.SaveOptions`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    // If there is a change in supporting more types in the TFLite cast op kernel,
    // the While loop outline pass should be updated since it inserts cast op(s)
    // after the TF -> TFL legalization pass is done.
    // LINT.IfChange
    def TFL_CastOp : TFL_Op<"cast", [
        Pure,
        SameOperandsAndResultShape]> {
      let summary = "Cast operator";
    
      let description = [{
        Casts input from input type to output type.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Striped64.java

      transient volatile int busy;
    
      /** Package-private default constructor */
      Striped64() {}
    
      /** CASes the base field. */
      final boolean casBase(long cmp, long val) {
        return UNSAFE.compareAndSwapLong(this, baseOffset, cmp, val);
      }
    
      /** CASes the busy field from 0 to 1 to acquire lock. */
      final boolean casBusy() {
        return UNSAFE.compareAndSwapInt(this, busyOffset, 0, 1);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Striped64.java

      transient volatile int busy;
    
      /** Package-private default constructor */
      Striped64() {}
    
      /** CASes the base field. */
      final boolean casBase(long cmp, long val) {
        return UNSAFE.compareAndSwapLong(this, baseOffset, cmp, val);
      }
    
      /** CASes the busy field from 0 to 1 to acquire lock. */
      final boolean casBusy() {
        return UNSAFE.compareAndSwapInt(this, busyOffset, 0, 1);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "$0.isa<DenseElementsAttr>() && "
      "$0.cast<DenseElementsAttr>().getNumElements() == 1 && "
      "(($0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isLargest() && "
      "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegative()) || "
      "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegInfinity())">>;
    
    def L2NormValidReduceIndex : Constraint<CPred<
      "L2NormalizeReduceAxis($0, $1.cast<DenseElementsAttr>())">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      func.setVisibility(mlir::func::FuncOp::Visibility::Public);
      auto func_builder = OpBuilder::atBlockBegin(func.addEntryBlock());
      func_builder.create<mlir::func::ReturnOp>(func.getLoc());
      // In cases where there is a session initializer op with empty initializer,
      // replace the session initializer with the new one that points to the session
      // initializer func.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    }
    
    func TestMicroTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  MicroTime
    		result string
    	}{
    		{MicroTime{}, "t: null\n"},
    		{DateMicro(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05.000000Z\"\n"},
    		{DateMicro(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05.000000Z\"\n"},
    	}
    
    	for _, c := range cases {
    		input := MicroTimeHolder{c.input}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    	T Time `json:"t"`
    }
    
    func TestTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  Time
    		result string
    	}{
    		{Time{}, "t: null\n"},
    		{Date(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05Z\"\n"},
    		{Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05Z\"\n"},
    	}
    
    	for _, c := range cases {
    		input := TimeHolder{c.input}
    		result, err := yaml.Marshal(&input)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

          continue;
    
        // If an op doesn't implement any of the hardware interface we skip it.
        // This can happen in cases like Flex when we have non TFLite ops.
        auto device_name = GetDeviceName(&inst);
    
        if (device_name.has_value()) {
          // Add per device costs if present.
          auto per_device_cost = GetPerDeviceCosts(hardware_map, &inst);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. cni/pkg/log/uds_test.go

    		want := map[string]any{
    			"level": cases[i].level,
    			"msg":   cases[i].msg,
    		}
    		if k := cases[i].key; k != nil {
    			want["key"] = *k
    		}
    		assert.Equal(t, want, parsedLog)
    		i++
    	}
    }
    
    func TestParseCniLog(t *testing.T) {
    	wantT := &time.Time{}
    	assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z")))
    	cases := []struct {
    		name string
    		in   string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top