Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bad (0.13 sec)

  1. tensorflow/c/c_api.cc

          body_fn, params->name, &loop_outputs);
    
      // Update name_map with newly-created ops.
      // TODO(skyewm): right now BuildWhileLoop() may alter the graph if it returns
      // a bad status. Once we fix this, we may want to return early instead of
      // executing the following code.
      for (int i = first_new_node_id; i < parent->graph.num_node_ids(); ++i) {
        Node* new_node = parent->graph.FindNodeId(i);
    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)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          TF_SetStatus(first_bad_status.get(), TF_GetCode(async_wait_status.get()),
                       TF_Message(async_wait_status.get()));
        }
      }
    
      if (first_bad_status != nullptr) {
        TF_SetStatus(status, TF_GetCode(first_bad_status.get()),
                     TF_Message(first_bad_status.get()));
      }
    }
    
    absl::optional<std::vector<std::unique_ptr<ParallelTensor>>>
    ParallelDevice::Join(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_test.cc

      EXPECT_EQ(string("one:0"), node_def_neg.input(0));
    
      // Clean up
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    /*
    TODO(skyewm): this test currently DCHECKs, change to bad status
    
    TEST(CAPI, InputFromDifferentGraphError) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* g1 = TF_NewGraph();
      TF_Graph* g2 = TF_NewGraph();
    
      TF_Operation* feed = Placeholder(g1, s);
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          if (read_fill_buffer >= 0) gcs_file->buffer.resize(read_fill_buffer);
          if (TF_GetCode(status) != TF_OK &&
              TF_GetCode(status) != TF_OUT_OF_RANGE) {
            // Empty the buffer to avoid caching bad reads.
            gcs_file->buffer.resize(0);
            return -1;
          }
          size_t remaining_copy =
              (std::min)(n - copy_size, gcs_file->buffer.size());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top