Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for argv (0.14 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. ci/official/envs/rbe

    EOF
      exit 1
    fi
    TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX"
    
    # These flags share the user's gcloud credentials with the container, so that bazel
    # inside the container can authenticate. Note: TF's CI does not have any credential
    # stored here.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. ci/official/envs/linux_x86_cuda

    source ci/official/envs/linux_x86
    TFCI_BAZEL_COMMON_ARGS="--repo_env=TF_PYTHON_VERSION=$TFCI_PYTHON_VERSION --config release_gpu_linux"
    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_cuda
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    TFCI_DOCKER_ARGS="--gpus all"
    TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 19 00:24:30 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. ci/official/envs/disk_cache

      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1023 bytes
    - Viewed (0)
  7. .github/workflows/arm-ci.yml

          - name: Build binary and run python tests
            shell: bash
            run: |
              CI_DOCKER_BUILD_EXTRA_PARAMS="--pull --build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=1 --build-arg tf_project_name=tf_nightly_ci" \
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. ci/official/utilities/code_check_changed_files.bats

            | tee $BATS_TEST_TMPDIR/needs_help.txt
        [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]]
    }
    
    @test "API compatibility test passes, ensuring no unexpected changes to the TF API" {
        bazel test $TFCI_BAZEL_COMMON_ARGS //tensorflow/tools/api/tests:api_compatibility_test
        echo "You have to re-generate the TF API goldens and have the API changes reviewed."
        echo "Look at the instructions for ':api_compatibility_test -- --update_goldens=True'"
    }
    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)
  9. 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)
  10. 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)
Back to top