Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for null (0.19 sec)

  1. tensorflow/c/c_test.c

      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
    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_macros_internal.h

        }                                                                     \
      } while (0)
    
    // Macro to verify that the field NAME of STRUCT_OBJ is not null.
    #define TF_VALIDATE_NOT_NULL(STRUCT_NAME, STRUCT_OBJ, NAME)            \
      do {                                                                 \
        if (STRUCT_OBJ.NAME == 0) {                                        \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.h

      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
      std::unique_ptr<TensorSliceReader> reader_;
      std::unique_ptr<BundleReader> v2_reader_;
    
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      if (undeleted_files == nullptr || undeleted_dirs == nullptr)
        return errors::FailedPrecondition(
            "DeleteRecursively must not be called with `undeleted_files` or "
            "`undeleted_dirs` set to NULL");
    
      if (ops_->delete_recursively == nullptr)
        return FileSystem::DeleteRecursively(dirname, token, undeleted_files,
                                             undeleted_dirs);
    
    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)
  5. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index 45efe2e..06bfab0 100644
    --- a/stdlib/setenv.c
    +++ b/stdlib/setenv.c
    @@ -319,6 +319,7 @@ unsetenv (const char *name)
     
       ep = __environ;
       if (ep != NULL)
    +  {
         while (*ep != NULL)
           if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
     	{
    @@ -332,6 +333,7 @@ unsetenv (const char *name)
     	}
           else
     	++ep;
    +  }
     
       UNLOCK;
     
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/nn_grad.cc

        // Grad for Softmax Input
        TF_RETURN_IF_ERROR(BroadcastMul(
            ctx, grad_outputs[0], forward_outputs_[1],
            grad_inputs.subspan(0, 1)));  // upstream_grad * local softmax grad
    
        // Grad for labels is null
        grad_inputs[1] = nullptr;
        return absl::OkStatus();
      }
      ~SparseSoftmaxCrossEntropyWithLogitsGradientFunction() override {}
    
     private:
      vector<AbstractTensorHandle*> forward_outputs_;
    };
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. ci/official/code_check_full.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 840 bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern void TFE_OpSetAttrType(TFE_Op* op, const char* attr_name,
                                                 TF_DataType value);
    // If the number of dimensions is unknown, `num_dims` must be set to
    // -1 and `dims` can be null.  If a dimension is unknown, the
    // corresponding entry in the `dims` array must be -1.
    TF_CAPI_EXPORT extern void TFE_OpSetAttrShape(TFE_Op* op, const char* attr_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  9. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    add them to //tensorflow/tools/pip_package/BUILD. Otherwise, add the no_pip tag
    to the test, or change code_check_full.bats in the SIG Build repository. That's
    https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/tf_sig_build_dockerfiles/devel.usertools/code_check_full.bats
    Here are the affected tests:
    EOF
        while read dep; do
          echo "For dependency $dep:"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

    }
    
    void TF_SetFullType(TF_Graph* graph, TF_Operation* op,
                        const TF_Buffer* full_type_proto) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      FullTypeDef full_type;
      full_type.ParseFromArray(full_type_proto->data, full_type_proto->length);
      *op->node.mutable_def()->mutable_experimental_type() = full_type;
      RecordMutation(graph, *op, "setting fulltype");
    }
    
    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)
Back to top