Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for frame_name (0.18 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/compiler/jit/deadness_analysis.cc

            // does not affect the result after pattern-matching into the
            // AndRecurrence form.
            absl::string_view frame_name = control_flow_info_[n->id()].frame_name;
            auto insert_result = frame_to_merge_node_.insert({frame_name, n});
            Node* representative = insert_result.first->second;
            TF_RETURN_IF_ERROR(predicate_factory_.MakeSymbolPredicate(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_cluster_util.cc

            const string& frame_name =
                control_flow_info[edge->dst()->id()].frame_name;
            dst = GetOrAddFrameNodeId(frame_name);
            dst_type = "frame";
          }
    
          if (edge->src()->IsExit()) {
            // Lift edges from an "Exit" node to the corresponding frame node.
            const string& frame_name =
                control_flow_info[edge->src()->id()].frame_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. tensorflow/cc/ops/while_loop.h

    //     indicating whether the loop should continue.
    // * body: a function that builds the body graph of the loop. Takes the current
    //     loop variables as inputs and returns the updated loop variables.
    // * frame_name: the frame name to use for this while loop. This should be a
    //     unique name. This will be used as a prefix for created operations.
    // * outputs: output param that returns final loop variable outputs in non-error
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 24 08:24:58 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multiple-use-next-iteration.pbtxt

            int_val: 0
          }
        }
      }
    }
    node {
      name: "Enter"
      op: "Enter"
      input: "Const"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "frame_name"
        value {
          s: "while_context"
        }
      }
      attr {
        key: "is_constant"
        value {
          b: false
        }
      }
      attr {
        key: "parallel_iterations"
        value {
          i: 10
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt

          }
        }
      }
    }
    node {
      name: "while/Enter"
      op: "Enter"
      input: "Const"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "frame_name"
        value {
          s: "while/while_context"
        }
      }
      attr {
        key: "is_constant"
        value {
          b: false
        }
      }
      attr {
        key: "parallel_iterations"
        value {
          i: 10
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 18:14:13 UTC 2020
    - 3K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/jit/deadness_analysis_test.cc

                                             const string& prefix,
                                             const string& frame_name,
                                             const Output& initial_value) {
      Output enter_initial_value = ops::internal::Enter(
          root.WithOpName(prefix + "/enter"), initial_value, frame_name);
    
      ops::Merge iv(root.WithOpName(prefix + "/iv"),
                    {enter_initial_value, enter_initial_value});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top