Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 235 for pb (0.17 sec)

  1. src/encoding/json/bench_test.go

    	data := []byte(`3.14`)
    	b.RunParallel(func(pb *testing.PB) {
    		var f float64
    		for pb.Next() {
    			if err := Unmarshal(data, &f); err != nil {
    				b.Fatalf("Unmarshal error: %v", err)
    			}
    		}
    	})
    }
    
    func BenchmarkUnmarshalInt64(b *testing.B) {
    	b.ReportAllocs()
    	data := []byte(`3`)
    	b.RunParallel(func(pb *testing.PB) {
    		var x int64
    		for pb.Next() {
    			if err := Unmarshal(data, &x); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/BUILD

            "test_graph_tfmatmulandadd.pb",
            "test_graph_tfsplits.pb",
            "test_graph_tftop_k.pb",
            "test_graph_tfvariable.pb",
            "test_graph_tfvariable_readonly.pb",
            "test_graph_tfvariable_sequential_updates.pb",
        ],
        # Set CUDA_VISIBLE_DEVICES='' to prevent the code we launch from using any
        # GPUs which might be present.  This is important because builds may run
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    #include "tensorflow/tools/proto_splitter/cc/util.h"
    #include "tensorflow/tools/proto_splitter/chunk.pb.h"
    #include "tensorflow/tools/proto_splitter/testdata/test_message.pb.h"
    #include "tsl/lib/core/status_test_util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. src/expvar/expvar_test.go

    		t.Errorf("reqs.Value() = %v, want -2", i)
    	}
    }
    
    func BenchmarkIntAdd(b *testing.B) {
    	var v Int
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			v.Add(1)
    		}
    	})
    }
    
    func BenchmarkIntSet(b *testing.B) {
    	var v Int
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			v.Set(1)
    		}
    	})
    }
    
    func TestFloat(t *testing.T) {
    	RemoveAll()
    	reqs := NewFloat("requests-float")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op.mlir

    // IntPerLayer-DAG: "tf.DumpTensor"(%[[output1_quantized]]) <{enabled = true, file_name = "quantized_tensor_data.pb", func_name = "conv", log_dir_path = "/tmp/dumps/composite_conv2d_with_bias_and_relu6_fn_1", node_name = "Conv2D_1"}> : (tensor<*xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. pkg/config/model.go

    	// but also not used by Istio at all.
    	if pb, ok := s.(protoreflect.ProtoMessage); ok {
    		return protoconv.MessageToAnyWithError(pb)
    	}
    
    	// gogo protobuf
    	if pb, ok := s.(gogoproto.Message); ok {
    		gogoany, err := gogotypes.MarshalAny(pb)
    		if err != nil {
    			return nil, err
    		}
    		return &anypb.Any{
    			TypeUrl: gogoany.TypeUrl,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/time/sleep_test.go

    		benchmark(b, func(pb *testing.PB) {
    			for pb.Next() {
    				NewTimer(1 * Second).Stop()
    			}
    		})
    	})
    	b.Run("impl=func", func(b *testing.B) {
    		benchmark(b, func(pb *testing.PB) {
    			for pb.Next() {
    				newTimerFunc(1 * Second).Stop()
    			}
    		})
    	})
    }
    
    func BenchmarkSimultaneousAfterFunc1000(b *testing.B) {
    	benchmark(b, func(pb *testing.PB) {
    		for pb.Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. src/internal/profile/profile.go

    // total samples collected.
    func (p *Profile) Merge(pb *Profile, r float64) error {
    	if err := p.Compatible(pb); err != nil {
    		return err
    	}
    
    	pb = pb.Copy()
    
    	// Keep the largest of the two periods.
    	if pb.Period > p.Period {
    		p.Period = pb.Period
    	}
    
    	p.DurationNanos += pb.DurationNanos
    
    	p.Mapping = append(p.Mapping, pb.Mapping...)
    	for i, m := range p.Mapping {
    		m.ID = uint64(i + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

    }
    
    TEST(CreateExportedModelTest, CreateExportedModelWithAddedAssetFileDefs) {
      AssetFileDef asset1;
      ASSERT_TRUE(
          TextFormat::ParseFromString(R"pb(filename: "fname1")pb", &asset1));
    
      AssetFileDef asset2;
      ASSERT_TRUE(
          TextFormat::ParseFromString(R"pb(filename: "fname2")pb", &asset2));
    
      const ExportedModel exported_model = CreateExportedModelFromGraphDef(
          GraphDef(), /*init_node_name=*/"", /*checkpoint_dir=*/"",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

    // WholeModel-DAG: "tf.DumpTensor"(%[[matmul0_q]]) <{enabled = true, file_name = "unquantized_tensor_data.pb", func_name = "composite_dot_general_with_bias_and_relu6_dynamic_fn_2", log_dir_path = "/tmp/dumps/composite_dot_general_with_bias_and_relu6_dynamic_fn_2", node_name = "_empty_node"}> : (tensor<?x2xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top