Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fails (0.16 sec)

  1. tensorflow/c/c_api.cc

          if (!status->status.ok()) {
            // Contract is we always delete input_values[i].
            return false;
          }
          // Note: session->session is not modified if Extend() fails, so
          // we only set last_num_graph_nodes if it succeeds.
          session->last_num_graph_nodes = num_nodes;
        } else {
          session->graph->mu.unlock();
        }
      }
      return true;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/custom_device_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_TRUE(executed);
      TFE_DeleteTensorHandle(retval);
    
      // Custom device: inputs in different custom devices fails.
      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcustom1.get()));
      num_retvals = 1;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      ASSERT_NE(TF_OK, TF_GetCode(status.get()));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_cluster_test.cc

      TestRemoteExecuteUpdateServerDefResourceAccess(true);
    }
    
    void TestRemoteExecuteUpdateServerDefWithFailures(bool async) {
      // Fail fast on GetStatus requests so we can get errors instead of timeout
      // when updating cluster with non-exsitent worker
      tensorflow::setenv("GRPC_FAIL_FAST", "TRUE", /*overwrite=*/1);
    
      tensorflow::ServerDef server_def = GetServerDef(2);
      // This server def has the task index set to 0.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/c/env_test.cc

        TF_FileStat(filepath.c_str(), &stats, s);
        ASSERT_EQ(stats.length, strlen(data));
        ASSERT_FALSE(stats.is_directory);
        ASSERT_GT(stats.mtime_nsec, 0);
    
        // Trying to delete a non-empty directory should fail.
        TF_DeleteDir(dirpath.c_str(), s);
        ASSERT_NE(TF_OK, TF_GetCode(s))
            << "TF_DeleteDir unexpectedly succeeded with a non-empty directory "
            << dirpath;
    
        TF_DeleteFile(filepath.c_str(), s);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/array_grad_test.cc

          immediate_execution_ctx_.reset(ctx_raw);
        }
    
        // Computing numerical gradients with TensorFloat-32 is numerically
        // unstable. Some forward pass tests also fail with TensorFloat-32 due to
        // low tolerances
        enable_tensor_float_32_execution(false);
      }
    
      AbstractContextPtr immediate_execution_ctx_;
      GradientRegistry registry_;
      Status status_;
    
     public:
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      // `is_async` operations finish. In addition to allowing the caller to cancel
      // the operation, its `StartCancel` method will be called if op execution
      // fails on any device in order to cancel the others.
      void StartExecute(TFE_Context* context, const char* operation_name,
                        std::vector<TFE_TensorHandle*> inputs,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/gradients/math_grad_test.cc

          immediate_execution_ctx_.reset(ctx_raw);
        }
    
        // Computing numerical gradients with TensorFloat-32 is numerically
        // unstable. Some forward pass tests also fail with TensorFloat-32 due to
        // low tolerances
        enable_tensor_float_32_execution(false);
      }
    
      AbstractContextPtr immediate_execution_ctx_;
      GradientRegistry registry_;
      Status status_;
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_distributed_test.cc

      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          VariableAddFunctionSignature(), &def));
      return def.SerializeAsString();
    }
    
    // A graph optimization pass that would fail when triggered for more than once.
    class GraphErrorInjectionPass : public tensorflow::GraphOptimizationPass {
     public:
      static bool enabled_;
      GraphErrorInjectionPass() {}
    
      tensorflow::Status Run(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradient_checker_test.cc

          ASSERT_EQ(errors::OK, s.code()) << s.message();
          ctx_.reset(ctx_raw);
        }
    
        // Computing numerical gradients with TensorFloat-32 is numerically
        // unstable. Some forward pass tests also fail with TensorFloat-32 due to
        // low tolerances
        enable_tensor_float_32_execution(false);
      }
    
      AbstractContextPtr ctx_;
    
     public:
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/nn_grad_test.cc

          immediate_execution_ctx_.reset(ctx_raw);
        }
    
        // Computing numerical gradients with TensorFloat-32 is numerically
        // unstable. Some forward pass tests also fail with TensorFloat-32 due to
        // low tolerances
        enable_tensor_float_32_execution(false);
      }
    
      AbstractContextPtr immediate_execution_ctx_;
      GradientRegistry registry_;
      Status status_;
    
     public:
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top