Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for yyerror (0.18 sec)

  1. tensorflow/c/c_api.h

    //   and these structs are allocated/deallocated via the API.
    // * TF_Status holds error information.  It is an object type
    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/env.h

    //
    // If dirname and all its descendants were successfully deleted, TF_OK is
    // returned and both error counters are set to zero.
    //
    // Otherwise, while traversing the tree, undeleted_file_count and
    // undeleted_dir_count are updated if an entry of the corresponding type could
    // not be deleted. The returned error status represents the reason that any one
    // of these entries could not be deleted.
    //
    // Typical status codes:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device.h

    //
    // Implicit copies onto `device_name` are allowed, replicating the value once
    // per device in `underlying_devices`. Implicit copies off of the device throw
    // an error.
    //
    // All component tensors must have the same dtype. Currently they must also have
    // the same shape, although this requirement may be relaxed in the future.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/grad_test_helper.h

        Model model, Model grad_model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error = 1e-2);
    
    void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals,
                          absl::Span<const int64_t> dims, double abs_error = 1e-2);
    
    Model BuildGradModel(Model forward, GradientRegistry registry);
    
    }  // namespace internal
    }  // namespace gradients
    C
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Jan 14 20:36:51 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    // Set the config in TF_ContextOptions.options.
    // config should be a serialized tensorflow.ConfigProto proto.
    // If config was not parsed successfully as a ConfigProto, record the
    // error information in *status.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig(
        TFE_ContextOptions* options, const void* proto, size_t proto_len,
        TF_Status* status);
    
    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)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //     auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); });
    //     // No matter what, fclose(fp) will happen.
    //     DataObject d;
    //     while (ReadDataObject(fp, &d)) {
    //       if (d.IsBad()) {
    //         LOG(ERROR) << "Bad Data";
    //         return;
    //       }
    //       PushGoodData(d);
    //     }
    //   }
    //
    // You can use Cleanup<F> directly, instead of using MakeCleanup and auto,
    // but there's rarely a reason to do that.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue20266/issue20266.h

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #define issue20266 20266
    
    #ifndef def20266
    #error "expected def20266 to be defined"
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 251 bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.h

                                                       TF_Status* status);
    
    // Aborts all ongoing collectives with the specified status. After abortion,
    // subsequent collectives will error with this status immediately. To reset the
    // collectives, create a new EagerContext.
    //
    // This is intended to be used when a peer failure is detected.
    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

        // backward function under a gradient tape.
        forward_grads.resize(output_tensors.size());
        TF_RETURN_IF_ERROR(ForwardpropFromTape(
            op_type, output_tensors, backward_function_getter,
            backward_function_deleter, in_grads, absl::MakeSpan(forward_grads)));
      } else {
        TF_RETURN_IF_ERROR(
            (*forward_function)(in_grads, &forward_grads, use_batch_));
      }
    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)
  10. tensorflow/c/eager/unified_api_testutil.h

      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_Context* eager_ctx =
          TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
      TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get()));
      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top