Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for existent (4.99 sec)

  1. tensorflow/c/c_api_function_test.cc

                string(TF_Message(s_)));
    }
    
    TEST_F(CApiFunctionTest, Attribute) {
      DefineFunction(func_name_, &func_);
    
      // Get non existent attribute
      TF_Buffer* attr_buf = TF_NewBuffer();
      TF_FunctionGetAttrValueProto(func_, "foo_attr", attr_buf, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
      // `keep_alive_secs` of inactivity.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

            const string& name = pair.first;
            if ((name == prefix) || absl::StartsWith(name, prefix_cmp)) {
              status->status = InvalidArgument(
                  "prefix [", prefix,
                  "] conflicts with existing node in the graph named [", name, "]");
              return;
            }
          }
          child_scope_name = prefix;
        }
        tensorflow::Scope scope =
    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)
  4. tensorflow/c/eager/c_api_experimental.h

    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
                                           const char* op_or_function_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  5. ci/official/utilities/setup_docker.sh

      if [[ "$TFCI_DOCKER_REBUILD_UPLOAD_ENABLE" == 1 ]]; then
        docker push "$TFCI_DOCKER_IMAGE"
      fi
    fi
    
    # Keep the existing "tf" container if it's already present.
    # The container is not cleaned up automatically! Remove it with:
    # docker rm tf
    if ! docker container inspect tf >/dev/null 2>&1 ; then
      # Pass all existing TFCI_ variables into the Docker container
      env_file=$(mktemp)
      env | grep ^TFCI_ > "$env_file"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 15:27:59 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

          /*retries=*/0, status, /*clear_existing_contexts=*/false);
    }
    
    // Set server def with timeout.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status,
        bool clear_existing_contexts) {
      TFE_ContextSetServerDefWithTimeoutAndRetries(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  7. RELEASE.md

                documented as temporary and to be removed.
                *   Uses of `tensors()` can be replaced by calling the existing
                    methods `tensors_size()` and `tensor(int)`.
                *   Uses of the non-const overload of `nodes_and_registration` can
                    be replaced by calling the existing methods `nodes_size()` and
                    `context()`, and then calling the `GetNodeAndRegistration`
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  8. tensorflow/c/eager/c_api_test_util.cc

                                         serialized_server_def.size(),
                                         init_timeout_in_ms, status,
                                         /*clear_existing_contexts=*/false);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
      TF_DeleteStatus(status);
      return ctx;
    }
    
    tensorflow::ServerDef ReplaceTaskInServerDef(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

               TempFile(temp_file_name, std::ios::binary | std::ios::trunc), true,
               0});
        } else {
          return;
        }
      }
      TF_VLog(3, "GcsWritableFile: %s with existing file %s", path,
              temp_file_name.c_str());
      TF_SetStatus(status, TF_OK, "");
    }
    
    // TODO(vnvo2409): We could download into a local temporary file and use
    // memory-mapping.
    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)
  10. tensorflow/c/eager/tape.h

      typename std::unordered_map<int64_t, Gradient*>::iterator existing =
          accumulated_gradients_.find(tensor_id);
      vspace_.MarkAsResult(tangent);
      if (existing == accumulated_gradients_.end()) {
        accumulated_gradients_.emplace(tensor_id, tangent);
      } else {
        std::array<Gradient*, 2> to_aggregate;
        to_aggregate[0] = tangent;
        to_aggregate[1] = existing->second;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top