Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for indexOf (0.23 sec)

  1. ci/official/utilities/generate_index_html.sh

    # limitations under the License.
    # ==============================================================================
    
    # Generates a handy index.html with a bunch of Kokoro links for GitHub
    # presubmits.
    # Usage: generate_index_html.sh /path/to/output/index.html
    
    cat > "$1" <<EOF
    <html>
    <head>
    <title>$(basename "$KOKORO_JOB_NAME")</title>
    </head>
    <body>
    <h1>TensorFlow Job Logs and Links</h1>
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 20:26:13 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      int num_unused_input_mappings;
      const char** src_names;
      int* src_indexes;
      TF_ImportGraphDefResultsMissingUnusedInputMappings(
          results, &num_unused_input_mappings, &src_names, &src_indexes);
      ASSERT_EQ(1, num_unused_input_mappings);
      EXPECT_EQ(string("fake"), string(src_names[0]));
      EXPECT_EQ(0, src_indexes[0]);
    
      TF_DeleteImportGraphDefResults(results);
      TF_DeleteImportGraphDefOptions(opts);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      tensorflow::ServerDef server_def_1 =
          ReplaceTaskInServerDef(server_def_0, /*task_index=*/0);
    
      // These server defs have task index set to 0.
      string serialized_server_def_0 = server_def_0.SerializeAsString();
      string serialized_server_def_1 = server_def_1.SerializeAsString();
    
      // Create two worker tasks.
      server_def_0.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_debug.cc

        TFE_TensorDebugInfo* debug_info) {
      return debug_info->dev_dims.size();
    }
    
    TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim(
        TFE_TensorDebugInfo* debug_info, int dim_index) {
      return debug_info->dev_dims[dim_index];
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test.cc

      int num_inputs = TFE_OpGetFlatInputCount(other, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      for (int input_index = 0; input_index < num_inputs; ++input_index) {
        TFE_TensorHandle* input = TFE_OpGetFlatInput(other, input_index, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_OpAddInput(ret, input, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  6. ci/official/utilities/code_check_changed_files.bats

        echo "============================="
        grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \
            | xargs buildifier -v -mode=diff -diff_command="git diff --no-index"
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check formatting for C++ files" {
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // ImmediateExecutionTensorHandles, but comes up for example when computing
      // the shape of a parallel tensor with component shapes differing across
      // devices.
      virtual Status Dim(int dim_index, int64_t* dim) const = 0;
    
      // Returns the device which created the handle.
      virtual const char* DeviceName(Status* status) const = 0;
      // Returns the device where the tensor was placed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_internal.h

    };
    
    struct TF_ImportGraphDefResults {
      std::vector<TF_Output> return_tensors;
      std::vector<TF_Operation*> return_nodes;
      std::vector<const char*> missing_unused_key_names;
      std::vector<int> missing_unused_key_indexes;
    
      // Backing memory for missing_unused_key_names values.
      std::vector<tensorflow::string> missing_unused_key_names_data;
    };
    
    struct TF_DeviceList {
      std::vector<tensorflow::DeviceAttributes> response;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

      if (ic->num_outputs() <= new_src.index) {
        status->status = tensorflow::errors::OutOfRange(
            "Cannot update edge. Output index [", new_src.index,
            "] is greater than the number of total outputs [", ic->num_outputs(),
            "].");
        return;
      }
      tensorflow::shape_inference::ShapeHandle shape = ic->output(new_src.index);
    
      tensorflow::shape_inference::InferenceContext* ic_dst =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

        TFE_TensorDebugInfo* debug_info);
    
    // Returns the number of elements in dimension `dim_index`.
    // Tensor representation on device can be transposed from its representation
    // on host. The data contained in dimension `dim_index` on device
    // can correspond to the data contained in another dimension in on-host
    // representation. The dimensions are indexed using the standard TensorFlow
    // major-to-minor order (slowest varying dimension first),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top