Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Kast (0.17 sec)

  1. tensorflow/c/c_api_test.cc

    TEST(CAPI, DataTypeEnum) {
      EXPECT_EQ(TF_FLOAT, static_cast<TF_DataType>(tensorflow::DT_FLOAT));
      EXPECT_EQ(TF_DOUBLE, static_cast<TF_DataType>(tensorflow::DT_DOUBLE));
      EXPECT_EQ(TF_INT32, static_cast<TF_DataType>(tensorflow::DT_INT32));
      EXPECT_EQ(TF_UINT8, static_cast<TF_DataType>(tensorflow::DT_UINT8));
      EXPECT_EQ(TF_INT16, static_cast<TF_DataType>(tensorflow::DT_INT16));
      EXPECT_EQ(TF_INT8, static_cast<TF_DataType>(tensorflow::DT_INT8));
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        const auto& data = block->data;
        if (offset >= pos + data.size()) {
          // The requested offset is at or beyond the end of the file. This can
          // happen if `offset` is not block-aligned, and the read returns the last
          // block in the file, which does not extend all the way out to `offset`.
          std::stringstream os;
          os << "EOF at offset " << offset << " in file " << filename
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. ci/official/bisect.sh

    # Run any CI script and env configuration to bisect a failing target in some
    # build configuration. You must set the following variables to control this
    # script:
    #
    #   TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job)
    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    #   TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g.
    #     ci/official/wheel.sh
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      return parent_op_->SetAttrString(attr_name, data, length);
    }
    Status TapeOperation::SetAttrInt(const char* attr_name, int64_t value) {
      forward_op_.attrs.Set(attr_name, static_cast<int64_t>(value));
      return parent_op_->SetAttrInt(attr_name, value);
    }
    Status TapeOperation::SetAttrFloat(const char* attr_name, float value) {
      forward_op_.attrs.Set(attr_name, value);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      auto* cell2 = TFE_MonitoringGetCellStringGauge2(gauge2, "foo", "bar");
      TFE_MonitoringStringGaugeCellSet(cell2, "str");
      auto* buf = new TF_Buffer;
      TFE_MonitoringStringGaugeCellValue(cell2, buf);
      string data(static_cast<const char*>(buf->data), buf->length);
      TF_DeleteBuffer(buf);
      EXPECT_EQ(data, "str");
      TFE_MonitoringDeleteStringGauge2(gauge2);
      TF_DeleteStatus(status);
    }
    
    TEST(CAPI, MonitoringSampler0) {
    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)
  6. .gitignore

    /_python_build
    *.pyc
    __pycache__
    *.swp
    .vscode/
    cmake_build/
    tensorflow/contrib/cmake/_build/
    .idea/**
    /build/
    [Bb]uild/
    /build_output/
    /tensorflow/core/util/version_info.cc
    /tensorflow/python/framework/fast_tensor_util.cpp
    /tensorflow/lite/gen/**
    /tensorflow/lite/tools/make/downloads/**
    /tensorflow/lite/tools/make/gen/**
    /api_init_files_list.txt
    /estimator_api_init_files_list.txt
    *.whl
    
    # Android
    .gradle
    .idea
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 31 22:28:59 GMT 2024
    - 934 bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.cc

        return errors::InvalidArgument(
            "SetConfiguration() needs number of values > 0");
      }
    
      TF_Filesystem_Option option;
      memset(&option, 0, sizeof(option));
      option.name = const_cast<char*>(name.c_str());
      TF_Filesystem_Option_Value option_value;
      memset(&option_value, 0, sizeof(option_value));
      option_value.type_tag = TF_Filesystem_Option_Type_Buffer;
      option_value.num_values = values.size();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    #ifndef NDEBUG
        if (enable_grappler)
          EXPECT_NE(strstr(static_cast<const char*>(buf->data), "tf.Mul"), nullptr);
        else
          EXPECT_NE(strstr(static_cast<const char*>(buf->data), "tf.Add"), nullptr);
    #endif
        TF_DeleteBuffer(buf);
      }
    
      TFE_ContextRemoveFunction(ctx, "AddFunction", 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)
  9. tensorflow/c/c_api.cc

          GraphDef graph_def;
          *graph_def.mutable_versions() = graph.versions();
          // Fill graph_def with nodes with ids in the range
          // [session->last_num_graph_nodes, num_nodes), that is the nodes
          // added since the last TF_SessionRun() call.
          for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
            Node* const node = graph.FindNodeId(id);
            if (node != nullptr && node->IsOp()) {
    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/immediate_execution_tensor_handle.h

    // files. The interface lists the common functionality that must be provided by
    // any concrete implementation. However, in cases where the true concrete class
    // is needed a static_cast can be applied.
    class ImmediateExecutionTensorHandle : public AbstractTensorHandle {
     public:
      // Returns number of dimensions.
      virtual Status NumDims(int* num_dims) const = 0;
    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)
Back to top