Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Hafner (0.22 sec)

  1. tensorflow/c/c_api.cc

          it.second = strings::StrCat(
              "Operation '", op.node.DebugString(), "' was changed by ",
              mutation_type,
              " after it was run by a session. This mutation will have no effect, "
              "and will trigger an error in the future. Either don't modify "
              "nodes after running them or create a new session.");
        }
      }
    }
    
    namespace {
    
    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)
  2. tensorflow/c/eager/gradients_test.cc

          "or NotDifferentiableGradientFunction.",
          s.message());
      ASSERT_EQ(nullptr, outputs[0]);
    }
    
    // TODO(b/164171226): Enable this test with tfrt after AddInputList is
    // supported. It is needed for IdentityN.
    #ifdef PLATFORM_GOOGLE
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      // Requests that the worker thread execute the specified operation. Blocks
      // until the previously pending operation (a StartExecute without a Join) has
      // finished, if any.
      //
      // `cancellation_manager` must live until after `Join` finishes and pending
      // `is_async` operations finish. In addition to allowing the caller to cancel
      // the operation, its `StartCancel` method will be called if op execution
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_distributed_test.cc

          first_call_ = false;
          return absl::OkStatus();
        }
        return tensorflow::errors::Internal("Graph pass runs for more than once!");
      }
    
     private:
      bool first_call_ = true;
    };
    
    // After the graph pass is registered, it takes effect globally and can affect
    // other test cases. Define a static variable to switch it on and off.
    bool GraphErrorInjectionPass::enabled_ = false;
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/file_system_helper.h"
    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    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)
  6. tensorflow/c/eager/c_api_test.cc

      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_ReadVariable);
    
    TEST(CAPI, StringAttributes) {
      // Test that TFE_OpSetAttrString doesn't hold on to the value after it
      // returns.
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, 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)
  7. tensorflow/c/c_api_function_test.cc

      TF_GraphCopyFunction(host_graph_, func_, nullptr, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Delete the gradient func.
      // It is safe to delete after adding a copy to host graph.
      TF_DeleteFunction(grad_func);
    
      // Check that GraphDef did not change
      GraphDef gdef2;
      GetGraphDef(host_graph_, &gdef2);
      ASSERT_EQ(gdef.DebugString(), gdef2.DebugString());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                             gcs::Fields("size"));
        if (!metadata) {
          TF_SetStatusFromGCSStatus(metadata.status(), status);
          return;
        }
        // We have to delete the temporary object after composing.
        auto delete_status = gcs_client->DeleteObject(bucket, temporary_object);
        if (!delete_status.ok()) {
          TF_SetStatusFromGCSStatus(delete_status, status);
          return;
        }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top