Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for argv (0.13 sec)

  1. tensorflow/c/c_test.c

      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      }
      return op_reg_data->op_def.is_stateful();
    }
    
    void TF_InitMain(const char* usage, int* argc, char*** argv) {
      tensorflow::port::InitMain(usage, argc, argv);
    }
    
    int TF_PickUnusedPortOrDie() {
      return tensorflow::internal::PickUnusedPortOrDie();
    }
    
    TFE_TensorHandle* TFE_NewTensorHandleFromScalar(TF_DataType data_type,
                                                    void* data, size_t len,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. ci/official/requirements_updater/BUILD.bazel

    compile_pip_requirements_3_9(
        name = "requirements_3_9",
        extra_args = ["--allow-unsafe"],
        requirements_in = REQUIREMENTS_FILE_NAME,
        requirements_txt = "requirements_lock_3_9.txt",
    )
    
    compile_pip_requirements_3_10(
        name = "requirements_3_10",
        extra_args = ["--allow-unsafe"],
        requirements_in = REQUIREMENTS_FILE_NAME,
        requirements_txt = "requirements_lock_3_10.txt",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3K bytes
    - Viewed (2)
  4. tensorflow/c/eager/parallel_device/BUILD

        ],
    )
    
    tf_cc_test(
        name = "parallel_device_remote_test",
        srcs = ["parallel_device_remote_test.cc"],
        # TODO(b/136478427): Enable global heap checking when servers shut down
        # cleanly.
        args = ["--heap_check="],
        deps = [
            ":parallel_device",
            ":parallel_device_testlib",
            "//tensorflow/c:c_api",
            "//tensorflow/c:c_api_experimental",
            "//tensorflow/c/eager:c_api",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_CANCELLED, TF_GetCode(s));
      EXPECT_EQ(string("cancel"), TF_Message(s));
      TF_DeleteStatus(s);
    }
    
    void Deallocator(void* data, size_t, void* arg) {
      tensorflow::cpu_allocator()->DeallocateRaw(data);
      *reinterpret_cast<bool*>(arg) = true;
    }
    
    TEST(CAPI, Tensor) {
      const int num_bytes = 6 * sizeof(float);
      float* values =
          reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw(
    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)
  6. tensorflow/c/c_api.cc

                .NewSubScope(child_scope_name);
    
        if (dx != nullptr) {
          std::vector<tensorflow::Output> dx_arg = OutputsFromTFOutputs(dx, ny);
          status->status =
              AddSymbolicGradients(scope, y_arg, x_arg, dx_arg, &dy_arg);
        } else {
          status->status = AddSymbolicGradients(scope, y_arg, x_arg, &dy_arg);
        }
    
        // Update g->name_map with the name_map from the scope, which will contain
    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)
  7. tensorflow/c/eager/c_api_experimental.h

        TFE_Context* ctx, const char* device_name, TF_DataType, const int64_t* dims,
        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    // Retrieves the address space (i.e. job, replia, task) of the local host and
    // saves it in the buffer.
    TF_CAPI_EXPORT extern void TFE_HostAddressSpace(TFE_Context* ctx,
    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)
  8. ci/official/wheel.sh

      # replace tensorflow to tf_nightly in the wheel name
      export TFCI_BUILD_PIP_PACKAGE_ARGS="$(echo $TFCI_BUILD_PIP_PACKAGE_ARGS | sed 's/tensorflow/tf_nightly/')"
    fi
    
    tfrun bazel build $TFCI_BAZEL_COMMON_ARGS //tensorflow/tools/pip_package:wheel $TFCI_BUILD_PIP_PACKAGE_ARGS
    tfrun find ./bazel-bin/tensorflow/tools/pip_package -iname "*.whl" -exec cp {} $TFCI_OUTPUT_DIR \;
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. ci/official/utilities/rename_and_verify_wheels.sh

    fi
    # VERY basic check to ensure the [and-cuda] package variant is installable.
    # Checks TFCI_BAZEL_COMMON_ARGS for "gpu" or "cuda", implying that the test is
    # relevant. All of the GPU test machines have CUDA installed via other means,
    # so I am not sure how to verify that the dependencies themselves are valid for
    # the moment.
    if [[ "$TFCI_BAZEL_COMMON_ARGS" =~ gpu|cuda ]]; then
      echo "Checking to make sure tensorflow[and-cuda] is installable..."
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. .github/workflows/arm-ci-extended.yml

              CI_DOCKER_BUILD_EXTRA_PARAMS="--build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=${is_nightly} --build-arg tf_project_name=${tf_project_name}" \
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Mar 05 10:24:16 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top