Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for frame_name (0.31 sec)

  1. tensorflow/cc/framework/while_gradients.cc

        outputs->emplace_back(ops::Subtract(scope, inputs[0], 1));
        return scope.status();
      };
    
      string frame_name = BackPropFrameName(while_ctx->frame_name());
      std::vector<Output> outputs;
      TF_RETURN_IF_ERROR(BuildWhileLoop(
          scope, {loop_count}, cond_fn, body_fn, frame_name, &outputs,
          /* create_while_ctx */ false, backprop_execution_pred));
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/cc/ops/while_loop.cc

    Status BuildWhileLoop(const Scope& scope, const std::vector<Output>& inputs,
                          const CondGraphBuilderFn& cond,
                          const BodyGraphBuilderFn& body, const string& frame_name,
                          OutputList* outputs, bool create_while_ctx,
                          Output* cond_output) {
      DCHECK(!inputs.empty());
      DCHECK(outputs != nullptr);
      DCHECK(outputs->empty());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir

        // CHECK: tf_executor.Exit
        %Const, %ctl = Const name("Const") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
        %Enter, %ctl_0 = Enter(%Const) name("while/Enter") {T = i32, frame_name = "while/while_context", is_constant = false, parallel_iterations = 10 : i64} : (tensor<i32>) -> (tensor<*xi32>)
        %NextIteration, %ctl_1 = NextIteration(%Add) name("while/NextIteration") {T = i32} : (tensor<*xi32>) -> (tensor<*xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 18:31:38 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_arg_control_dep.mlir

        %Const, %ctl = Const [%arg.ctl] name("test") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
        %Enter, %ctl_0 = Enter(%Const) [%arg.ctl] name("while/Enter") {T = i32, frame_name = "while/while_context", is_constant = false, parallel_iterations = 10 : i64} : (tensor<i32>) -> (tensor<*xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 06 02:08:28 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/cc/ops/while_loop_test.cc

                                    << node->DebugString();
        ASSERT_TRUE(node->while_ctx() != nullptr) << i;
        if (i == 0) {
          while_ctx = node->while_ctx();
          EXPECT_EQ(while_ctx->frame_name(), kFrameName);
        } else {
          EXPECT_EQ(node->while_ctx(), while_ctx) << i;
        }
      }
    
      // Run the loop and test we get the expected results
      Run<int>({1}, {10});
      Run<int>({11}, {11});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/node_matchers_test.cc

    }
    
    TEST(NodeMatchers, Attrs) {
      Scope root = Scope::NewRootScope().ExitOnError();
      Output enter = ops::internal::Enter(
          root.WithOpName("enter"),
          ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name",
          ops::internal::Enter::Attrs{}.IsConstant(true));
      EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true)));
      EXPECT_EQ(Explain(enter.node(), NodeWith(Attr("is_constant", false))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

        val tracer = this.tracer
        return if (tracer == null) {
            writeAction()
        } else {
            val frameName = name()
            try {
                tracer.open(frameName)
                writeAction()
            } finally {
                tracer.close(frameName)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

          direction,
          streamId,
          length,
          formattedType,
          windowSizeIncrement,
        )
      }
    
      internal fun formattedType(type: Int): String = if (type < FRAME_NAMES.size) FRAME_NAMES[type] else format("0x%02x", type)
    
      /**
       * Looks up valid string representing flags from the table. Invalid combinations are represented
       * in binary.
       */
      fun formatFlags(
        type: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tests/connpool_test.go

    	}
    
    	tx.Rollback()
    
    	if err = db.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := db.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err = tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top