Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for F32 (0.06 sec)

  1. src/time/time_test.go

    	}
    }
    
    func TestSecondsToUTCAndBack(t *testing.T) {
    	f := func(sec int64) bool { return Unix(sec, 0).UTC().Unix() == sec }
    	f32 := func(sec int32) bool { return f(int64(sec)) }
    	cfg := &quick.Config{MaxCount: 10000}
    
    	// Try a reasonable date first, then the huge ones.
    	if err := quick.Check(f32, cfg); err != nil {
    		t.Fatal(err)
    	}
    	if err := quick.Check(f, cfg); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    include "tensorflow/compiler/mlir/lite/ir/tfl_ops.td"
    include "tensorflow/compiler/mlir/lite/utils/utils.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Checks if the param passed is a F32 ElementsAttr.
    def F32ElementsAttr : ElementsAttrBase<
      CPred<"$_self.isa<ElementsAttr>() && $_self.cast<ElementsAttr>().getShapedType().getElementType().isF32()">,
            "32 bit float constant tensor">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  3. src/time/format_test.go

    			t.Errorf("FormatAndParse %d: %q(%d) %q(%d)", sec, t1, t1.Unix(), t2, t2.Unix())
    			return false
    		}
    		return true
    	}
    	f32 := func(sec int32) bool { return f(int64(sec)) }
    	cfg := &quick.Config{MaxCount: 10000}
    
    	// Try a reasonable date first, then the huge ones.
    	if err := quick.Check(f32, cfg); err != nil {
    		t.Fatal(err)
    	}
    	if err := quick.Check(f, cfg); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        )
        module_str = self._extract_first_xla_call_module_op(
            self._output_saved_model_path
        )
    
        # Check add is not quantized.
        self.assertTrue(re.search(r'stablehlo.add.*f32>', module_str))
    
      @parameterized.parameters(
          testing.parameter_combinations([{
              'shape_dynamic': (
                  False,
                  True,
              ),
          }])
      )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/sym.go

    		ctxt.hash[name] = s
    		if init != nil {
    			init(s)
    		}
    	}
    	ctxt.hashmu.Unlock()
    	return s
    }
    
    func (ctxt *Link) Float32Sym(f float32) *LSym {
    	i := math.Float32bits(f)
    	name := fmt.Sprintf("$f32.%08x", i)
    	return ctxt.LookupInit(name, func(s *LSym) {
    		s.Size = 4
    		s.WriteFloat32(ctxt, 0, f)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //   %4 = mhlo.constant dense<0.000000e+00> : tensor<f32>
    //   %5 = "mhlo.broadcast"(%4)
    //   %6 = "mhlo.select"(%3, %input, %5)
    //   %7 = "mhlo.reduce"(%6, %4) ({
    //   ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
    //     %9 = mhlo.add %arg1, %arg2 : tensor<f32>
    //     "mhlo.return"(%9) : (tensor<f32>) -> ()
    //   }) {dimensions = dense<0> : tensor<1xi64>}
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    	}
    
    	// Rewrite float constants to values stored in memory.
    	switch p.As {
    	case AFMOVS:
    		if p.From.Type == obj.TYPE_FCONST && !convertFMOVtoXXSPLTIDP(p) {
    			f32 := float32(p.From.Val.(float64))
    			p.From.Type = obj.TYPE_MEM
    			p.From.Sym = ctxt.Float32Sym(f32)
    			p.From.Name = obj.NAME_EXTERN
    			p.From.Offset = 0
    		}
    
    	case AFMOVD:
    		if p.From.Type == obj.TYPE_FCONST {
    			f64 := p.From.Val.(float64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

              sess, tags=tags, export_dir=self._output_saved_model_path
          )
    
          # The graph should contain a quantized function call (it contains a
          # single f32 matmul node).
          self.assertTrue(
              self._contains_quantized_function_call(
                  output_meta_graph_def.graph_def
              )
          )
          self.assertCountEqual(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/test.go

    // issue 22958
    
    typedef struct {
    	unsigned long long f8  : 8;
    	unsigned long long f16 : 16;
    	unsigned long long f24 : 24;
    	unsigned long long f32 : 32;
    	unsigned long long f40 : 40;
    	unsigned long long f48 : 48;
    	unsigned long long f56 : 56;
    	unsigned long long f64 : 64;
    } issue22958Type;
    
    // issue 23356
    int a(void) { return 5; };
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top