Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 42 of 42 for expectedResult (0.05 seconds)

  1. src/test/resources/thumbnail/test_generate_thumbnail.sh

    }
    trap cleanup EXIT
    
    # Test function
    run_test() {
        local test_name="$1"
        local expected_result="$2"
        shift 2
        local cmd=("$@")
    
        echo -n "Testing: ${test_name}... "
    
        # Run the command
        "${cmd[@]}" >/dev/null 2>&1
        local actual_result=$?
    
        if [[ "${actual_result}" -eq "${expected_result}" ]]; then
            echo -e "${GREEN}PASSED${NC}"
            ((TESTS_PASSED++))
            return 0
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_function_test.cc

        TF_DeleteGraph(func_graph_);
        TF_DeleteStatus(s_);
      }
    
      void Run(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs,
               TF_Operation* output, int32_t expected_result) {
        Run(inputs, {{output, 0}}, {expected_result});
      }
    
      // Run the host graph, which now contains a function and check that
      // outputs are as expected.
      // 'T' stands for 'tensor' since the outputs are tensors, not scalars.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
Back to Top