Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,691 for expectGet (0.27 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      std::vector<DataType> recv_at_host_dtypes;
      TF_CHECK_OK(
          GetNodeAttr(recv_at_host->attrs(), "Toutputs", &recv_at_host_dtypes));
      EXPECT_EQ(recv_at_host_dtypes.size(), 3);
      EXPECT_EQ(recv_at_host_dtypes[0], DT_INT32);
      EXPECT_EQ(recv_at_host_dtypes[1], DT_FLOAT);
      EXPECT_EQ(recv_at_host_dtypes[2], DT_INT32);
      // Verify step 3: replace _Retval nodes with XlaSendFromHost.
      for (Node *n : g->nodes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc

                                absl::OkStatus());
      EXPECT_EQ(
          function_optimization_pass_.Run(
              "test_func", device_set_, config_proto_, function_options_, &graph_,
              flib_.get(), &control_ret_node_names_, &control_rets_updated_),
          absl::OkStatus());
    
      EXPECT_EQ(mlir_function_pass_graph_conversion_count_.Read(kOk), 0);
      EXPECT_EQ(mlir_function_pass_graph_conversion_count_.Read(kInvalidArgument),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 08:25:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. pkg/kubelet/prober/worker_test.go

    				t.Errorf("[%s-%d] Expected continue to be %v but got %v", probeType, i, test.expectContinue[probeType.String()], c)
    			}
    			result, ok := resultsManager(m, probeType).Get(testContainerID)
    			if ok != test.expectSet {
    				t.Errorf("[%s-%d] Expected to have result: %v but got %v", probeType, i, test.expectSet, ok)
    			}
    			if result != test.expectedResult {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. tensorflow/c/while_loop_test.cc

      }
    
      void ExpectOK() {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void ExpectError(TF_Code expected_code, const string& expected_msg) {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(expected_code, TF_GetCode(s_));
        EXPECT_EQ(expected_msg, TF_Message(s_));
        // TODO(skyewm): this assert is currently broken. Fix or remove guarantee.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    				}
    				if !strings.Contains(err.Error(), tc.ExpectErr) {
    					t.Fatalf("expected error %s, got %v", tc.ExpectErr, err)
    				}
    				return
    			}
    			if len(tc.ExpectErr) > 0 {
    				t.Fatalf("expected error %s, got none", tc.ExpectErr)
    			}
    			if !reflect.DeepEqual(tc.Out, tc.ExpectOut) {
    				t.Fatalf("unexpected result:\n %s", cmp.Diff(tc.ExpectOut, tc.Out))
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/leaderelection_test.go

    	expectInt(t, completions.Load, 2)
    
    	close(stop)
    }
    
    func expectInt(t *testing.T, f func() int32, expected int32) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		got := f()
    		if got != expected {
    			return fmt.Errorf("unexpected count: %v, want %v", got, expected)
    		}
    		return nil
    	}, retry.Timeout(time.Second))
    }
    
    func TestLeaderElectionDisabled(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

        InstantiationResultForTest result;
        TF_EXPECT_OK(InstantiateFunctionForTest(function, flib_def, &result));
    
        EXPECT_EQ((DataTypeVector{DT_INT32, DT_FLOAT, DT_INT32, DT_FLOAT,
                                  DT_RESOURCE, DT_RESOURCE, DT_RESOURCE}),
                  result.arg_types);
        EXPECT_EQ((DataTypeVector{DT_FLOAT, DT_INT32, DT_FLOAT, DT_FLOAT}),
                  result.ret_types);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

      TF_EXPECT_OK(CompileWithComputation(function_to_hlo_args).status());
    
      Histogram histogram =
          compilation_time.Delta("graph_old_bridge_has_function_to_hlo");
    
      EXPECT_EQ(histogram.num(), 1);
      EXPECT_EQ(compilation_status.Delta("kOldBridgeNoMlirSuccess"), 1);
    }
    
    TEST_F(CompileTFGraphTest, SuccessfullyCompilesWithManualSharding) {
      // MLIR module from failing test.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/gradients_test.cc

      ClientSession session(scope_test_);
      std::vector<Tensor> grad_result;
      TF_EXPECT_OK(session.Run({{x, {3.0f}}}, grad_outputs, &grad_result));
      EXPECT_EQ(grad_result.size(), 1);
      EXPECT_EQ(grad_result[0].NumElements(), 1);
      EXPECT_EQ(grad_result[0].flat<float>()(0), 17502.0f);
    }
    
    TEST_F(GradientsTest, MultiOutputNodeDependentOutputs) {
      auto x = Placeholder(scope_test_, DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
Back to top